From: fabrixxm Date: Wed, 12 Dec 2018 19:35:18 +0000 (+0100) Subject: Fix unregister storage backend X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f935a1fbf1797b26f4fad046599d231ed6c285d;p=friendica.git Fix unregister storage backend --- diff --git a/src/Core/StorageManager.php b/src/Core/StorageManager.php index ad2c0cb1db..4c7b151bf7 100644 --- a/src/Core/StorageManager.php +++ b/src/Core/StorageManager.php @@ -95,7 +95,7 @@ class StorageManager * * @param string $name User readable backend name */ - public static function unregister($class) + public static function unregister($name) { self::setup(); unset(self::$backends[$name]); @@ -114,7 +114,7 @@ class StorageManager * * @retur int Number of moved resources */ - public static function move(string $dest, $tables = null) + public static function move($dest, $tables = null) { if (is_null($dest) || empty($dest)) { throw Exception('Can\'t move to NULL storage backend');