From: Hypolite Petovan Date: Mon, 7 Jan 2019 18:28:40 +0000 (-0500) Subject: Fix missing new in throw calls in Core\StorageManager X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=25b8628762ad68ae784e1d60d1af74201f086265;p=friendica.git Fix missing new in throw calls in Core\StorageManager --- diff --git a/src/Core/StorageManager.php b/src/Core/StorageManager.php index 932b4bb400..415ee522b6 100644 --- a/src/Core/StorageManager.php +++ b/src/Core/StorageManager.php @@ -118,7 +118,7 @@ class StorageManager public static function move($dest, $tables = null) { if (is_null($dest) || empty($dest)) { - throw Exception('Can\'t move to NULL storage backend'); + throw new \Exception('Can\'t move to NULL storage backend'); } if (is_null($tables)) {