diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-20 13:44:00 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-20 13:44:00 +0200 |
commit | 1a84c8e9d28ff153996dcb6e97fe4115ca038028 (patch) | |
tree | 101517e768909ab00dc6263f187da28d53d56405 /lib | |
parent | 64dc222ce58524225f164caf3f48b5c1ef39f025 (diff) | |
parent | 168c2055ba393c3b13a0884ca7175a5bf2a47499 (diff) | |
download | nextcloud-server-1a84c8e9d28ff153996dcb6e97fe4115ca038028.tar.gz nextcloud-server-1a84c8e9d28ff153996dcb6e97fe4115ca038028.zip |
Merge pull request #19884 from owncloud/locking_exception
catch all exception if table doesn't exists
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/lock/dblockingprovider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/lock/dblockingprovider.php b/lib/private/lock/dblockingprovider.php index 1e93a6cec6c..450a0a27ab0 100644 --- a/lib/private/lock/dblockingprovider.php +++ b/lib/private/lock/dblockingprovider.php @@ -187,7 +187,7 @@ class DBLockingProvider extends AbstractLockingProvider { public function __destruct() { try { $this->cleanEmptyLocks(); - } catch (\PDOException $e) { + } catch (\Exception $e) { // If the table is missing, the clean up was successful if ($this->connection->tableExists('file_locks')) { throw $e; |