aboutsummaryrefslogtreecommitdiffstats
path: root/mod/match.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-31 17:32:51 -0700
committerredmatrix <git@macgirvin.com>2016-03-31 17:32:51 -0700
commitc0b3d7e1b480ceeed89b71efd056ed9edda2dfef (patch)
tree433552545eb0c746fb48666afdb74ff472bf17b1 /mod/match.php
parent50d9b2934742ad9fb0dc8354d405789e3c14cd00 (diff)
parent9abd95fad3784a10fc48bc40f9b8a75d7d74edda (diff)
downloadvolse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.gz
volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.bz2
volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.zip
Merge branch 'static'
Diffstat (limited to 'mod/match.php')
-rw-r--r--mod/match.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/match.php b/mod/match.php
index 60c281861..f7fc6cebd 100644
--- a/mod/match.php
+++ b/mod/match.php
@@ -17,7 +17,7 @@ function match_content(&$a) {
if (! local_channel())
return;
- $_SESSION['return_url'] = z_root() . '/' . $a->cmd;
+ $_SESSION['return_url'] = z_root() . '/' . App::$cmd;
$o .= '<h2>' . t('Profile Match') . '</h2>';
@@ -37,8 +37,8 @@ function match_content(&$a) {
if ($tags) {
$params['s'] = $tags;
- if ($a->pager['page'] != 1)
- $params['p'] = $a->pager['page'];
+ if (App::$pager['page'] != 1)
+ $params['p'] = App::$pager['page'];
// if(strlen(get_config('system','directory_submit_url')))
// $x = post_url('http://dir.friendica.com/msearch', $params);
@@ -48,8 +48,8 @@ function match_content(&$a) {
$j = json_decode($x);
if ($j->total) {
- $a->set_pager_total($j->total);
- $a->set_pager_itemspage($j->items_page);
+ App::set_pager_total($j->total);
+ App::set_pager_itemspage($j->items_page);
}
if (count($j->results)) {