Issue-#3873

Replace deprecated functions with new syntax.
This commit is contained in:
Adam Magness 2017-11-06 21:22:52 -05:00
parent 9eb1f4b9c3
commit 0dfa57948f
124 changed files with 819 additions and 679 deletions

View file

@ -1,6 +1,7 @@
<?php
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\System;
require_once('include/text.php');
@ -48,7 +49,7 @@ function match_content(App $a) {
if($a->pager['page'] != 1)
$params['p'] = $a->pager['page'];
if(strlen(get_config('system','directory')))
if(strlen(Config::get('system','directory')))
$x = post_url(get_server().'/msearch', $params);
else
$x = post_url(System::baseUrl() . '/msearch', $params);