diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-11 10:05:38 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-11 10:05:38 +0200 |
commit | 491c96eaa904e32677b0a446bfd9c662090b4382 (patch) | |
tree | 1032fa30a783ccf426d4db6bed6336ccc96201aa /lib/private | |
parent | f769c52522e31869fb234461727a864546691e66 (diff) | |
parent | 9dc0befcca3e95095a217f3cecaf1d187f5d303b (diff) | |
download | nextcloud-server-491c96eaa904e32677b0a446bfd9c662090b4382.tar.gz nextcloud-server-491c96eaa904e32677b0a446bfd9c662090b4382.zip |
Merge pull request #8966 from owncloud/fix_failing_tests_on_master
Fix failing tests on master
Diffstat (limited to 'lib/private')
-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)); |