ソースを参照

port 22c8194cc8

tags/v6.0.0alpha2
Arthur Schiwon 11年前
コミット
e25c1f3130
1個のファイルの変更7行の追加3行の削除
  1. 7
    3
      core/ajax/update.php

+ 7
- 3
core/ajax/update.php ファイルの表示

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

読み込み中…
キャンセル
保存