Uh oh!
There was an error while loading. Please reload this page.
Port files trashbin events to IEventDispatcher/IEventListener - #32018
Conversation
9af5d5f to
7079039Compare
artonge
left a comment
There was a problem hiding this comment.
Still a bunch of lint errors/warnings :)
cba371e to
ccad4d3CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ccad4d3 to
0766816Compareskjnldsv
commented
Feb 27, 2024
As there is no feedback since a while I will close this ticket. |
2ceeac1 to
fa2936cComparead3e703 to
8a6761aCompare| public function handle(Event $event): void { | ||
| if ($event instanceof NodeWrittenEvent) { | ||
| // Resize trash | ||
| if (!empty($this->userId)) { |
Check notice
Code scanning / Psalm
RiskyTruthyFalsyComparison
| } | ||
| public function handle(Event $event): void { | ||
| if ($event instanceof BeforeNodeDeletedEvent) { |
Check notice
Code scanning / Psalm
RedundantConditionGivenDocblockType
…Listener oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Hooks are cleared in test bootstrap so switching to events activates them in tests. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
98986b7 to
af0b8fbCompare… unlink Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
come-nc
commented
Sep 24, 2024
The 4 ViewTest failures came from the fact that the trashbin wrapper is now registered and intercepts the rmdir and unlink calls to applies trashbin logic instead of actually deleting stuff. |
oc_hooks is deprecated and will at some point be removed