Skip to content
Snippets Groups Projects
Commit 9dc0befc authored by Björn Schießle's avatar Björn Schießle
Browse files

call self::getNumericStorageId() to get the numeric ID

parent f4a183e7
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ class Storage {
$sql = 'DELETE FROM `*PREFIX*storages` WHERE `id` = ?';
\OC_DB::executeAudited($sql, array($storageId));
$numericId = self::exists($storageId);
$numericId = self::getNumericStorageId($storageId);
if (!is_null($numericId)) {
$sql = 'DELETE FROM `*PREFIX*filecache` WHERE `storage` = ?';
\OC_DB::executeAudited($sql, array($numericId));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment