fix OC_Log::ERROR call

remotes/origin/stable5
Björn Schießle 12 years ago
parent a6e5f4b85c
commit e6f1544f51
  1. 2
      apps/files_trashbin/lib/trash.php

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

Loading…
Cancel
Save