mirror of
https://github.com/nextcloud/server.git
synced 2026-06-21 22:50:05 -04:00
fix for #2267, use OC_DB instead of MDB2
This commit is contained in:
parent
ca93f6e1de
commit
92ce2bf89b
1 changed files with 1 additions and 1 deletions
2
lib/files/cache/cache.php
vendored
2
lib/files/cache/cache.php
vendored
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue