Skip to content

Commit 9659c56

Browse files
authored
Merge pull request #553 from nextcloud/remove-FileEventsListener
chore: removed FileEventsListener in favor of webhooks_listener feature
2 parents f595358 + 2a178d1 commit 9659c56

File tree

11 files changed

+1
-678
lines changed

11 files changed

+1
-678
lines changed

appinfo/info.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ to join us in shaping a more versatile, stable, and secure app landscape.
3838
*Your insights, suggestions, and contributions are invaluable to us.*
3939
4040
]]></description>
41-
<version>32.0.0-dev.3</version>
41+
<version>32.0.0-dev.4</version>
4242
<licence>agpl</licence>
4343
<author mail="[email protected]" homepage="https://github.com/andrey18106">Andrey Borysenko</author>
4444
<author mail="[email protected]" homepage="https://github.com/bigcat88">Alexander Piskun</author>
@@ -80,7 +80,6 @@ to join us in shaping a more versatile, stable, and secure app landscape.
8080
<command>OCA\AppAPI\Command\ExApp\Enable</command>
8181
<command>OCA\AppAPI\Command\ExApp\Disable</command>
8282
<command>OCA\AppAPI\Command\ExApp\ListExApps</command>
83-
<command>OCA\AppAPI\Command\ExApp\Notify</command>
8483
<command>OCA\AppAPI\Command\ExAppConfig\GetConfig</command>
8584
<command>OCA\AppAPI\Command\ExAppConfig\SetConfig</command>
8685
<command>OCA\AppAPI\Command\ExAppConfig\DeleteConfig</command>

lib/AppInfo/Application.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use OCA\AppAPI\Listener\DeclarativeSettings\GetValueListener;
1515
use OCA\AppAPI\Listener\DeclarativeSettings\RegisterDeclarativeSettingsListener;
1616
use OCA\AppAPI\Listener\DeclarativeSettings\SetValueListener;
17-
use OCA\AppAPI\Listener\FileEventsListener;
1817
use OCA\AppAPI\Listener\GetTaskProcessingProvidersListener;
1918
use OCA\AppAPI\Listener\LoadFilesPluginListener;
2019
use OCA\AppAPI\Listener\LoadMenuEntriesListener;
@@ -32,12 +31,6 @@
3231
use OCP\AppFramework\Bootstrap\IBootstrap;
3332
use OCP\AppFramework\Bootstrap\IRegistrationContext;
3433
use OCP\EventDispatcher\IEventDispatcher;
35-
use OCP\Files\Events\Node\NodeCopiedEvent;
36-
use OCP\Files\Events\Node\NodeCreatedEvent;
37-
use OCP\Files\Events\Node\NodeDeletedEvent;
38-
use OCP\Files\Events\Node\NodeRenamedEvent;
39-
use OCP\Files\Events\Node\NodeTouchedEvent;
40-
use OCP\Files\Events\Node\NodeWrittenEvent;
4134
use OCP\Navigation\Events\LoadAdditionalEntriesEvent;
4235
use OCP\SabrePluginEvent;
4336
use OCP\Settings\Events\DeclarativeSettingsGetValueEvent;
@@ -75,13 +68,6 @@ public function register(IRegistrationContext $context): void {
7568
$context->registerEventListener(DeclarativeSettingsGetValueEvent::class, GetValueListener::class);
7669
$context->registerEventListener(DeclarativeSettingsSetValueEvent::class, SetValueListener::class);
7770

78-
$context->registerEventListener(NodeCreatedEvent::class, FileEventsListener::class);
79-
$context->registerEventListener(NodeTouchedEvent::class, FileEventsListener::class);
80-
$context->registerEventListener(NodeWrittenEvent::class, FileEventsListener::class);
81-
$context->registerEventListener(NodeDeletedEvent::class, FileEventsListener::class);
82-
$context->registerEventListener(NodeRenamedEvent::class, FileEventsListener::class);
83-
$context->registerEventListener(NodeCopiedEvent::class, FileEventsListener::class);
84-
8571
$context->registerSetupCheck(DaemonCheck::class);
8672
}
8773

lib/Command/ExApp/Notify.php

Lines changed: 0 additions & 77 deletions
This file was deleted.

lib/Controller/EventsListenerController.php

Lines changed: 0 additions & 67 deletions
This file was deleted.

lib/Db/ExAppEventsListener.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

lib/Db/ExAppEventsListenerMapper.php

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)