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
parent ee39aba490
commit a7ce601580
41 changed files with 78 additions and 78 deletions

View file

@ -19,7 +19,7 @@ function salmon_return($val) {
}
function salmon_post(App &$a) {
function salmon_post(App $a) {
$xml = file_get_contents('php://input');
@ -156,7 +156,7 @@ function salmon_post(App &$a) {
if(get_pconfig($importer['uid'],'system','ostatus_autofriend')) {
$result = new_contact($importer['uid'],$author_link);
if($result['success']) {
$r = q("SELECT * FROM `contact` WHERE `network` = '%s' AND ( `url` = '%s' OR `alias` = '%s')
$r = q("SELECT * FROM `contact` WHERE `network` = '%s' AND ( `url` = '%s' OR `alias` = '%s')
AND `uid` = %d LIMIT 1",
dbesc(NETWORK_OSTATUS),
dbesc($author_link),