diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-14 14:59:12 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-14 14:59:12 +0100 |
commit | abe408e934d1620a500d9be365e265c9fd635b27 (patch) | |
tree | 229f0b39e34725f2ba506a4636ce25b91b0f07e0 /lib/files | |
parent | 8154b4be7de8c0f9616b3fb0d4b8385204615c61 (diff) | |
download | nextcloud-server-abe408e934d1620a500d9be365e265c9fd635b27.tar.gz nextcloud-server-abe408e934d1620a500d9be365e265c9fd635b27.zip |
replace \MDB with \OC_DB, approved in #2278
Diffstat (limited to 'lib/files')
-rw-r--r-- | lib/files/cache/cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/cache.php b/lib/files/cache/cache.php index 1ff66f11f18..91bcb73a55d 100644 --- a/lib/files/cache/cache.php +++ b/lib/files/cache/cache.php @@ -204,7 +204,7 @@ class Cache { $query = \OC_DB::prepare('INSERT INTO `*PREFIX*filecache`(' . implode(', ', $queryParts) . ')' . ' VALUES(' . implode(', ', $valuesPlaceholder) . ')'); $result = $query->execute($params); - if (\MDB2::isError($result)) { + if (\OC_DB::isError($result)) { \OCP\Util::writeLog('cache', 'Insert to cache failed: '.$result, \OCP\Util::ERROR); } |