Remove unneeded Config namespace usages

This commit is contained in:
nupplaPhil 2020-01-19 22:50:44 +01:00
parent f9d0e57f91
commit ed9392469e
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
121 changed files with 24 additions and 158 deletions

View file

@ -3,7 +3,7 @@
namespace Friendica\Module\Admin;
use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\Config\Cache;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\Core\Update;
@ -110,7 +110,7 @@ class Summary extends BaseAdminModule
// check legacy basepath settings
$configLoader = new ConfigFileLoader($a->getBasePath());
$configCache = new Config\Cache();
$configCache = new Cache();
$configLoader->setupCache($configCache);
$confBasepath = $configCache->get('system', 'basepath');
$currBasepath = DI::config()->get('system', 'basepath');