Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion lib/Listener/AppDisableListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ public function handle(Event $event): void {
}

$this->providerConfig->removeProvider($appId, $providerId);
$this->actionService->deleteProvider($providerId);
// deleteProvider() expects the full provider key (appId__providerId),
// not the bare provider id; $key already holds that full key.
$this->actionService->deleteProvider($key);
}
}
}
5 changes: 4 additions & 1 deletion lib/Service/ActionScheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ public function deleteSources(array $sourceIds): void {
}

/**
* @param string $providerKey
* @param string $providerKey The full provider key in the form appId__providerId
* (e.g. "mail__mail"), as returned by
* ProviderConfigService::getConfigKey(). Passing a bare
* provider id makes the backend reject the whole action batch.
* @return void
* @throws Exception
*/
Expand Down
Loading