diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-04-02 16:25:12 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-04-02 21:03:13 +0200 |
commit | e25c1f313099c141abca1a09f7eda0ecdfde415d (patch) | |
tree | b5232d4bb52de7bde03fc0289db7f62919007b4f /core/ajax/update.php | |
parent | 48afa39292c491ddaef8ecd3334ee2117cd410a9 (diff) | |
download | nextcloud-server-e25c1f313099c141abca1a09f7eda0ecdfde415d.tar.gz nextcloud-server-e25c1f313099c141abca1a09f7eda0ecdfde415d.zip |
port 22c8194cc8fde88957dbc8c6d9e253fac3c637bb
Diffstat (limited to 'core/ajax/update.php')
-rw-r--r-- | core/ajax/update.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 31b8c0dbb65..6015a901eb7 100644 --- a/core/ajax/update.php +++ b/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; |