summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-01-03 15:28:31 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-01-08 11:45:19 +0100
commit8b64e92b9262d2a2eec6345685ce421050f95c66 (patch)
treedd51490b8a184b2643414d11867a9fa450aa5065 /core/Application.php
parent84e6e9f7cf19207041925eaa237d24e1c12c2c2d (diff)
downloadnextcloud-server-8b64e92b9262d2a2eec6345685ce421050f95c66.tar.gz
nextcloud-server-8b64e92b9262d2a2eec6345685ce421050f95c66.zip
Bump doctrine/dbal from 2.12.0 to 3.0.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/Application.php b/core/Application.php
index 987358b5b97..c3cb6f02ed5 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -41,6 +41,7 @@ use OC\Authentication\Listeners\UserDeletedStoreCleanupListener;
use OC\Authentication\Listeners\UserDeletedTokenCleanupListener;
use OC\Authentication\Notifications\Notifier as AuthenticationNotifier;
use OC\Core\Notification\CoreNotifier;
+use OC\DB\Connection;
use OC\DB\MissingColumnInformation;
use OC\DB\MissingIndexInformation;
use OC\DB\MissingPrimaryKeyInformation;
@@ -82,7 +83,7 @@ class Application extends App {
/** @var MissingIndexInformation $subject */
$subject = $event->getSubject();
- $schema = new SchemaWrapper($container->query(IDBConnection::class));
+ $schema = new SchemaWrapper($container->query(Connection::class));
if ($schema->hasTable('share')) {
$table = $schema->getTable('share');
@@ -192,7 +193,7 @@ class Application extends App {
/** @var MissingPrimaryKeyInformation $subject */
$subject = $event->getSubject();
- $schema = new SchemaWrapper($container->query(IDBConnection::class));
+ $schema = new SchemaWrapper($container->query(Connection::class));
if ($schema->hasTable('federated_reshares')) {
$table = $schema->getTable('federated_reshares');
@@ -249,7 +250,7 @@ class Application extends App {
/** @var MissingColumnInformation $subject */
$subject = $event->getSubject();
- $schema = new SchemaWrapper($container->query(IDBConnection::class));
+ $schema = new SchemaWrapper($container->query(Connection::class));
if ($schema->hasTable('comments')) {
$table = $schema->getTable('comments');