fix OC_Log::ERROR call

This commit is contained in:
Björn Schießle 2013-01-30 13:04:32 +01:00
parent a6e5f4b85c
commit e6f1544f51

View file

@ -94,7 +94,7 @@ class Trashbin {
$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();
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;
}