summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-11 10:05:38 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-11 10:05:38 +0200
commit491c96eaa904e32677b0a446bfd9c662090b4382 (patch)
tree1032fa30a783ccf426d4db6bed6336ccc96201aa /lib/private
parentf769c52522e31869fb234461727a864546691e66 (diff)
parent9dc0befcca3e95095a217f3cecaf1d187f5d303b (diff)
downloadnextcloud-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.php2
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));