mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
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
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue