Revert "Updated modules to allow for partial overrides without errors"

This reverts commit db949bb802.
This commit is contained in:
fabrixxm 2016-02-07 15:11:34 +01:00
parent d6cf791677
commit b202e02fbf
123 changed files with 471 additions and 768 deletions

View file

@ -1,6 +1,6 @@
<?php
if(! function_exists('viewsrc_content')) {
function viewsrc_content(&$a) {
if(! local_user()) {
@ -16,7 +16,7 @@ function viewsrc_content(&$a) {
return;
}
$r = q("SELECT `item`.`body` FROM `item`
$r = q("SELECT `item`.`body` FROM `item`
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0
and `item`.`moderated` = 0
AND `item`.`id` = '%s' LIMIT 1",
@ -33,4 +33,4 @@ function viewsrc_content(&$a) {
}
return $o;
}
}