mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Don't throw an error when the table doesn't exist
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4153e1de79
commit
c6b7204fcb
1 changed files with 3 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
namespace OC\Repair\Owncloud;
|
||||
|
||||
use Doctrine\DBAL\Exception\InvalidFieldNameException;
|
||||
use Doctrine\DBAL\Exception\TableNotFoundException;
|
||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||
use OCP\IConfig;
|
||||
use OCP\IDBConnection;
|
||||
|
|
@ -96,6 +97,8 @@ class SaveAccountsTableData implements IRepairStep {
|
|||
return true;
|
||||
} catch (InvalidFieldNameException $e) {
|
||||
return false;
|
||||
} catch (TableNotFoundException $e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue