]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #17949 from nextcloud/debt/deprecated-const 17964/head
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>
Wed, 4 Dec 2019 08:49:41 +0000 (09:49 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2019 08:49:41 +0000 (09:49 +0100)
Connection::TRANSACTION_READ_COMMITTED is deprecated

1  2 
lib/private/DB/Connection.php

index f9c6f4155a37243ddc562115e9711f387e2891a6,e14323594d4df174629b3907ca282d21d3817e3f..65e1d84bfb1bd8abec577f902b44b6bd7dc48e11
  
  namespace OC\DB;
  
 +use Doctrine\Common\EventManager;
 +use Doctrine\DBAL\Cache\QueryCacheProfile;
 +use Doctrine\DBAL\Configuration;
  use Doctrine\DBAL\DBALException;
  use Doctrine\DBAL\Driver;
 -use Doctrine\DBAL\Configuration;
 -use Doctrine\DBAL\Cache\QueryCacheProfile;
 -use Doctrine\Common\EventManager;
 -use Doctrine\DBAL\Platforms\MySqlPlatform;
  use Doctrine\DBAL\Exception\ConstraintViolationException;
 +use Doctrine\DBAL\Platforms\MySqlPlatform;
  use Doctrine\DBAL\Schema\Schema;
+ use Doctrine\DBAL\TransactionIsolationLevel;
  use OC\DB\QueryBuilder\QueryBuilder;
  use OCP\DB\QueryBuilder\IQueryBuilder;
  use OCP\IDBConnection;