Skip to content

Commit

Permalink
add new file action registration method support (#104)
Browse files Browse the repository at this point in the history
Add Nextcloud 28 file actions support

---------

Signed-off-by: Andrey Borysenko <[email protected]>
Co-authored-by: Alexander Piskun <[email protected]>
  • Loading branch information
andrey18106 and bigcat88 authored Oct 23, 2023
1 parent f0f787c commit e5f611a
Show file tree
Hide file tree
Showing 4 changed files with 607 additions and 151 deletions.
1 change: 1 addition & 0 deletions lib/Service/ExFilesActionsMenuService.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public function unregisterFileActionMenu(string $appId, string $fileActionMenuNa
}
$this->mapper->delete($fileActionMenu);
$this->cache->remove('/ex_files_actions_menu_' . $appId . '_' . $fileActionMenuName);
$this->cache->remove('/ex_files_actions_menus');
return $fileActionMenu;
} catch (Exception $e) {
$this->logger->error(sprintf('Failed to unregister ExApp %s FileActionMenu %s. Error: %s', $appId, $fileActionMenuName, $e->getMessage()), ['exception' => $e]);
Expand Down
Loading

0 comments on commit e5f611a

Please sign in to comment.