aboutsummaryrefslogtreecommitdiffstats
path: root/mod/fsuggest.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-31 16:06:03 -0700
committerredmatrix <git@macgirvin.com>2016-03-31 16:06:03 -0700
commit9abd95fad3784a10fc48bc40f9b8a75d7d74edda (patch)
tree3cf2eec6a29f384b80a8c607aa97172b84e37e62 /mod/fsuggest.php
parent256c228efd249f2ce93405db8e36f52030aa4876 (diff)
downloadvolse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.tar.gz
volse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.tar.bz2
volse-hubzilla-9abd95fad3784a10fc48bc40f9b8a75d7d74edda.zip
static App
Diffstat (limited to 'mod/fsuggest.php')
-rw-r--r--mod/fsuggest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/fsuggest.php b/mod/fsuggest.php
index ec87af6ae..261679e6b 100644
--- a/mod/fsuggest.php
+++ b/mod/fsuggest.php
@@ -7,10 +7,10 @@ function fsuggest_post(&$a) {
return;
}
- if($a->argc != 2)
+ if(App::$argc != 2)
return;
- $contact_id = intval($a->argv[1]);
+ $contact_id = intval(App::$argv[1]);
$r = q("SELECT * FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",
intval($contact_id),
@@ -79,10 +79,10 @@ function fsuggest_content(&$a) {
return;
}
- if($a->argc != 2)
+ if(App::$argc != 2)
return;
- $contact_id = intval($a->argv[1]);
+ $contact_id = intval(App::$argv[1]);
$r = q("SELECT * FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",
intval($contact_id),