]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Storage.php
Merge remote-tracking branch 'upstream/develop' into api4
[friendica.git] / src / Console / Storage.php
index e2aa185c9229a305f33cfc72c8461bda8b0a823e..a4342e4b4113b03cf1601a61a55b6e0c61d784c6 100644 (file)
@@ -22,9 +22,9 @@
 namespace Friendica\Console;
 
 use Asika\SimpleConsole\CommandArgsException;
-use Friendica\Core\StorageManager;
-use Friendica\Model\Storage\ReferenceStorageException;
-use Friendica\Model\Storage\StorageException;
+use Friendica\Core\Storage\Repository\StorageManager;
+use Friendica\Core\Storage\Exception\ReferenceStorageException;
+use Friendica\Core\Storage\Exception\StorageException;
 
 /**
  * tool to manage storage backend and stored data from CLI
@@ -106,7 +106,7 @@ HELP;
                $this->out(sprintf($rowfmt, 'Sel', 'Name'));
                $this->out('-----------------------');
                $isregisterd = false;
-               foreach ($this->storageManager->listBackends() as $name => $class) {
+               foreach ($this->storageManager->listBackends() as $name) {
                        $issel = ' ';
                        if ($current && $current::getName() == $name) {
                                $issel = '*';