Browse Source

port 22c8194cc8

tags/v6.0.0alpha2
Arthur Schiwon 11 years ago
parent
commit
e25c1f3130
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      core/ajax/update.php

+ 7
- 3
core/ajax/update.php View File

@@ -36,11 +36,15 @@ if (OC::checkUpgrade(false)) {
* @param UpdateWatcher $watcher
*/
function __doFileCacheUpgrade($watcher) {
$query = \OC_DB::prepare('
try {
$query = \OC_DB::prepare('
SELECT DISTINCT `user`
FROM `*PREFIX*fscache`
');
$result = $query->execute();
');
$result = $query->execute();
} catch (\Exception $e) {
return;
}
$users = $result->fetchAll();
if(count($users) == 0) {
return;

Loading…
Cancel
Save