fix OC_Log::ERROR call
This commit is contained in:
parent
a6e5f4b85c
commit
e6f1544f51
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Trashbin {
|
||||||
$query = \OC_DB::prepare('SELECT location,type FROM *PREFIX*files_trash WHERE user=? AND id=? AND timestamp=?');
|
$query = \OC_DB::prepare('SELECT location,type FROM *PREFIX*files_trash WHERE user=? AND id=? AND timestamp=?');
|
||||||
$result = $query->execute(array($user,$filename,$timestamp))->fetchAll();
|
$result = $query->execute(array($user,$filename,$timestamp))->fetchAll();
|
||||||
if ( count($result) != 1 ) {
|
if ( count($result) != 1 ) {
|
||||||
\OC_Log::write('files_trashbin', 'trash bin database inconsistent!', OC_Log::ERROR);
|
\OC_Log::write('files_trashbin', 'trash bin database inconsistent!', \OC_Log::ERROR);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue