Update functions and calls

Update function names and scope. update calls.
This commit is contained in:
Adam Magness
2018-01-15 14:51:56 -05:00
parent c66c6223b7
commit 36d891bcad
20 changed files with 122 additions and 97 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
*/
use Friendica\App;
use Friendica\Content\Feature;
use Friendica\Content\Nav;
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Database\DBM;
@@ -132,7 +133,7 @@ function search_content(App $a) {
Cache::set("remote_search:".$remote, json_encode(array("time" => time(), "accesses" => 1)), CACHE_HOUR);
}
nav_set_selected('search');
Nav::setSelected('search');
if (x($a->data,'search'))
$search = notags(trim($a->data['search']));