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
commit 0f546f7f0f
20 changed files with 122 additions and 97 deletions

View file

@ -3,6 +3,7 @@
* @file mod/directory.php
*/
use Friendica\App;
use Friendica\Content\Nav;
use Friendica\Content\Widget;
use Friendica\Core\Config;
use Friendica\Database\DBM;
@ -37,7 +38,7 @@ function directory_content(App $a) {
}
$o = '';
nav_set_selected('directory');
Nav::setSelected('directory');
if(x($a->data,'search'))
$search = notags(trim($a->data['search']));