Cleanup namespace
This commit is contained in:
parent
d34497e69b
commit
7c38647573
2 changed files with 5 additions and 5 deletions
|
@ -33,7 +33,7 @@ class Storage extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
protected $helpOptions = ['h', 'help', '?'];
|
protected $helpOptions = ['h', 'help', '?'];
|
||||||
|
|
||||||
/** @var \Friendica\Core\Storage\Repository\StorageManager */
|
/** @var StorageManager */
|
||||||
private $storageManager;
|
private $storageManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -195,11 +195,11 @@ class StorageManager
|
||||||
$this->backendInstances[$name] = new Type\Database($this->dba);
|
$this->backendInstances[$name] = new Type\Database($this->dba);
|
||||||
break;
|
break;
|
||||||
// at least, try if there's an addon for the backend
|
// at least, try if there's an addon for the backend
|
||||||
case \Friendica\Core\Storage\Type\SystemResource::getName():
|
case Type\SystemResource::getName():
|
||||||
$this->backendInstances[$name] = new \Friendica\Core\Storage\Type\SystemResource();
|
$this->backendInstances[$name] = new Type\SystemResource();
|
||||||
break;
|
break;
|
||||||
case \Friendica\Core\Storage\Type\ExternalResource::getName():
|
case Type\ExternalResource::getName():
|
||||||
$this->backendInstances[$name] = new \Friendica\Core\Storage\Type\ExternalResource();
|
$this->backendInstances[$name] = new Type\ExternalResource();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$data = [
|
$data = [
|
||||||
|
|
Loading…
Reference in a new issue