replace \MDB with \OC_DB, approved in #2278

This commit is contained in:
Björn Schießle 2013-03-14 14:59:12 +01:00
parent 8154b4be7d
commit abe408e934
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}