Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
enh(loopback): ignore on occ
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl authored and backportbot[bot] committed Aug 27, 2025
commit 81e84172c7074f7c41a392a038b00d17aa05c5bd
5 changes: 3 additions & 2 deletions lib/Service/FederatedEventService.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function newEvent(FederatedEvent $event): array {
return $event->getOutcome();
}

if (!$event->isAsync()) {
if (OC::$CLI || !$event->isAsync()) {
$federatedItem->manage($event);
}

Expand Down Expand Up @@ -385,7 +385,8 @@ private function configureEvent(FederatedEvent $event, IFederatedItem $item) {
*/
public function initBroadcast(FederatedEvent $event): bool {
$instances = $this->getInstances($event);
if (empty($instances) && !$event->isAsync()) {
// if empty instance and ran from CLI, any action as already been managed
if (empty($instances) && (!$event->isAsync() || OC::$CLI)) {
return false;
}

Expand Down
Loading