Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802.
This commit is contained in:
parent
d6cf791677
commit
b202e02fbf
123 changed files with 471 additions and 768 deletions
|
|
@ -4,8 +4,7 @@ This file is part of the Diaspora protocol. It is used for fetching single publi
|
|||
*/
|
||||
require_once("include/diaspora.php");
|
||||
|
||||
if(! function_exists('p_init')) {
|
||||
function p_init($a) {
|
||||
function p_init($a){
|
||||
if ($a->argc != 2) {
|
||||
header($_SERVER["SERVER_PROTOCOL"].' 510 '.t('Not Extended'));
|
||||
killme();
|
||||
|
|
@ -80,4 +79,3 @@ function p_init($a) {
|
|||
|
||||
killme();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue