aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-12-13 13:38:31 +0100
committerJoas Schilling <coding@schilljs.com>2023-12-14 14:32:04 +0100
commit226134a19533bf30aa3d9db30752045386a6741b (patch)
tree815daecd198a5e0f80b54e47da736949ee4ea677 /core
parent6056928dc6185cb22a55dbbc1d37f5abaf59ead2 (diff)
downloadnextcloud-server-226134a19533bf30aa3d9db30752045386a6741b.tar.gz
nextcloud-server-226134a19533bf30aa3d9db30752045386a6741b.zip
fix(comments): Reference ID column is now added on upgrade and therefore can be removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-rw-r--r--core/Application.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/Application.php b/core/Application.php
index 2ad8b9f2a30..700fb3297af 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -48,10 +48,8 @@ use OC\TagManager;
use OCP\AppFramework\App;
use OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent;
use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent;
-use OCP\DB\Events\AddMissingColumnsEvent;
use OCP\DB\Events\AddMissingIndicesEvent;
use OCP\DB\Events\AddMissingPrimaryKeyEvent;
-use OCP\DB\Types;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\User\Events\BeforeUserDeletedEvent;
use OCP\User\Events\UserDeletedEvent;
@@ -300,18 +298,6 @@ class Application extends App {
);
});
- $eventDispatcher->addListener(AddMissingColumnsEvent::class, function (AddMissingColumnsEvent $event) {
- $event->addMissingColumn(
- 'comments',
- 'reference_id',
- Types::STRING,
- [
- 'notnull' => false,
- 'length' => 64,
- ]
- );
- });
-
$eventDispatcher->addServiceListener(BeforeTemplateRenderedEvent::class, BeforeTemplateRenderedListener::class);
$eventDispatcher->addServiceListener(BeforeLoginTemplateRenderedEvent::class, BeforeTemplateRenderedListener::class);
$eventDispatcher->addServiceListener(RemoteWipeStarted::class, RemoteWipeActivityListener::class);