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

@ -6,6 +6,7 @@
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\System;
/**
@ -72,7 +73,7 @@ function install_plugin($plugin) {
if (! function_exists('reload_plugins')) {
function reload_plugins() {
$plugins = get_config('system','addon');
$plugins = Config::get('system','addon');
if (strlen($plugins)) {
$r = q("SELECT * FROM `addon` WHERE `installed` = 1");