mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Fix coding style in Console\Storage
This commit is contained in:
parent
0fcef20bb3
commit
3791635143
1 changed files with 7 additions and 7 deletions
|
@ -96,7 +96,7 @@ HELP;
|
||||||
|
|
||||||
protected function doList()
|
protected function doList()
|
||||||
{
|
{
|
||||||
$rowfmt = ' %-3s | %-20s';
|
$rowfmt = ' %-3s | %-20s';
|
||||||
$current = $this->storageManager->getBackend();
|
$current = $this->storageManager->getBackend();
|
||||||
$this->out(sprintf($rowfmt, 'Sel', 'Name'));
|
$this->out(sprintf($rowfmt, 'Sel', 'Name'));
|
||||||
$this->out('-----------------------');
|
$this->out('-----------------------');
|
||||||
|
@ -104,7 +104,7 @@ HELP;
|
||||||
foreach ($this->storageManager->listBackends() as $name) {
|
foreach ($this->storageManager->listBackends() as $name) {
|
||||||
$issel = ' ';
|
$issel = ' ';
|
||||||
if ($current && $current::getName() == $name) {
|
if ($current && $current::getName() == $name) {
|
||||||
$issel = '*';
|
$issel = '*';
|
||||||
$isregisterd = true;
|
$isregisterd = true;
|
||||||
};
|
};
|
||||||
$this->out(sprintf($rowfmt, $issel, $name));
|
$this->out(sprintf($rowfmt, $issel, $name));
|
||||||
|
@ -176,7 +176,7 @@ HELP;
|
||||||
}
|
}
|
||||||
|
|
||||||
$current = $this->storageManager->getBackend();
|
$current = $this->storageManager->getBackend();
|
||||||
$total = 0;
|
$total = 0;
|
||||||
|
|
||||||
if (is_null($current)) {
|
if (is_null($current)) {
|
||||||
throw new StorageException(sprintf("Cannot move to legacy storage. Please select a storage backend."));
|
throw new StorageException(sprintf("Cannot move to legacy storage. Please select a storage backend."));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue