X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FStorageManager.php;h=8cd7d439531824b3b836e086a4cfd0d71db2ca05;hb=a2c6240da02de21dc974b1fbe65a943f2abb37fb;hp=4b74035ee8635465a60757c12a418fd7ac187f4d;hpb=b2794bb2c9587e5e5307a838b45f297067586772;p=friendica.git diff --git a/src/Core/StorageManager.php b/src/Core/StorageManager.php index 4b74035ee8..8cd7d43953 100644 --- a/src/Core/StorageManager.php +++ b/src/Core/StorageManager.php @@ -29,8 +29,8 @@ class StorageManager } /** - * @brief Return current storage backend class - * + * @brief Return current storage backend class + * * @return string * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ @@ -53,7 +53,6 @@ class StorageManager /** * @brief Set current storage backend class - * If $class is an empty string, legacy db storage is used. * * @param string $class Backend class name * @return bool @@ -61,7 +60,7 @@ class StorageManager */ public static function setBackend($class) { - if ($class !== "" && !in_array('Friendica\Model\Storage\IStorage', class_implements($class))) { + if (!in_array('Friendica\Model\Storage\IStorage', class_implements($class))) { return false; }