mirror of
https://github.com/friendica/friendica
synced 2025-04-29 17:44:24 +02:00
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
This commit is contained in:
parent
cb80108957
commit
d5a473abda
41 changed files with 219 additions and 216 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Friendica\Util;
|
||||
|
||||
use Friendica\Core\Config\Cache\ConfigCache;
|
||||
use Friendica\Core\Config\Cache;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
@ -56,9 +56,9 @@ class Profiler implements ContainerInterface
|
|||
}
|
||||
|
||||
/**
|
||||
* @param ConfigCache $configCache The configuration cache
|
||||
* @param Cache $configCache The configuration cache
|
||||
*/
|
||||
public function __construct(ConfigCache $configCache)
|
||||
public function __construct(Cache $configCache)
|
||||
{
|
||||
$this->enabled = $configCache->get('system', 'profiler');
|
||||
$this->rendertime = $configCache->get('rendertime', 'callstack');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue