diff options
Diffstat (limited to 'lib/private/legacy/db.php')
-rw-r--r-- | lib/private/legacy/db.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/legacy/db.php b/lib/private/legacy/db.php index 7c556baeaeb..7e18cbe1875 100644 --- a/lib/private/legacy/db.php +++ b/lib/private/legacy/db.php @@ -28,6 +28,8 @@ * */ +use OCP\ILogger; + /** * This class manages the access to the database. It basically is a wrapper for * Doctrine with some adaptions. @@ -185,7 +187,7 @@ class OC_DB { try { $result = $schemaManager->updateDbFromStructure($file); } catch (Exception $e) { - \OCP\Util::writeLog('core', 'Failed to update database structure ('.$e.')', \OCP\Util::FATAL); + \OCP\Util::writeLog('core', 'Failed to update database structure ('.$e.')', ILogger::FATAL); throw $e; } return $result; |