mirror of
https://github.com/friendica/friendica
synced 2025-05-14 11:44:11 +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
|
@ -20,7 +20,7 @@ class AutomaticInstallation extends Console
|
|||
*/
|
||||
private $appMode;
|
||||
/**
|
||||
* @var Config\Cache\ConfigCache
|
||||
* @var \Friendica\Core\Config\Cache
|
||||
*/
|
||||
private $configCache;
|
||||
|
||||
|
@ -89,7 +89,7 @@ Examples
|
|||
HELP;
|
||||
}
|
||||
|
||||
public function __construct(App\Mode $appMode, Config\Cache\ConfigCache $configCache, Config\IConfig $config, Database $dba, array $argv = null)
|
||||
public function __construct(App\Mode $appMode, Config\Cache $configCache, Config\IConfig $config, Database $dba, array $argv = null)
|
||||
{
|
||||
parent::__construct($argv);
|
||||
|
||||
|
@ -241,13 +241,13 @@ HELP;
|
|||
}
|
||||
|
||||
/**
|
||||
* @param Installer $installer The Installer instance
|
||||
* @param Config\Cache\ConfigCache $configCache The config cache
|
||||
* @param Installer $installer The Installer instance
|
||||
* @param \Friendica\Core\Config\Cache $configCache The config cache
|
||||
*
|
||||
* @return bool true if checks were successfully, otherwise false
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
private function runBasicChecks(Installer $installer, Config\Cache\ConfigCache $configCache)
|
||||
private function runBasicChecks(Installer $installer, Config\Cache $configCache)
|
||||
{
|
||||
$checked = true;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Friendica\Console;
|
||||
|
||||
use Friendica\Core\Config\Cache\ConfigCache;
|
||||
use Friendica\Core\Config\Cache;
|
||||
use Friendica\Core\Update;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Database\DBStructure;
|
||||
|
@ -22,7 +22,7 @@ class DatabaseStructure extends \Asika\SimpleConsole\Console
|
|||
*/
|
||||
private $dba;
|
||||
/**
|
||||
* @var ConfigCache
|
||||
* @var Cache
|
||||
*/
|
||||
private $configCache;
|
||||
|
||||
|
@ -48,7 +48,7 @@ HELP;
|
|||
return $help;
|
||||
}
|
||||
|
||||
public function __construct(Database $dba, ConfigCache $configCache, $argv = null)
|
||||
public function __construct(Database $dba, Cache $configCache, $argv = null)
|
||||
{
|
||||
parent::__construct($argv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue