1
1
Fork 0

Normalize App parameter declaration (mod folder, 3 out of 3)

This commit is contained in:
Hypolite Petovan 2017-01-09 23:14:55 +11:00
commit a7ce601580
41 changed files with 78 additions and 78 deletions

View file

@ -1,7 +1,7 @@
<?php
function viewsrc_content(App &$a) {
function viewsrc_content(App $a) {
if (! local_user()) {
notice( t('Access denied.') . EOL);
@ -16,7 +16,7 @@ function viewsrc_content(App &$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",