Skip to content
Snippets Groups Projects
Commit abe408e9 authored by Björn Schießle's avatar Björn Schießle
Browse files

replace \MDB with \OC_DB, approved in #2278

parent 8154b4be
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment