diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-10 14:48:19 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-10 14:48:19 +0200 |
commit | 9dc0befcca3e95095a217f3cecaf1d187f5d303b (patch) | |
tree | 9cc30970771a5780024f4cbf4a9b3c2c869e2199 /lib/private/files | |
parent | f4a183e753c1c7b5397c866cf6627f7512a86382 (diff) | |
download | nextcloud-server-9dc0befcca3e95095a217f3cecaf1d187f5d303b.tar.gz nextcloud-server-9dc0befcca3e95095a217f3cecaf1d187f5d303b.zip |
call self::getNumericStorageId() to get the numeric ID
Diffstat (limited to 'lib/private/files')
-rw-r--r-- | lib/private/files/cache/storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/storage.php b/lib/private/files/cache/storage.php index 3a267874431..9ad31a272ea 100644 --- a/lib/private/files/cache/storage.php +++ b/lib/private/files/cache/storage.php @@ -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)); |