From: Julius Härtl Date: Tue, 26 Nov 2019 12:56:38 +0000 (+0100) Subject: Expose editor id for creators X-Git-Tag: v18.0.0beta1~61^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fb1b88ac63bbc171104559ce3a5ea0d84791249e;p=nextcloud-server.git Expose editor id for creators Signed-off-by: Julius Härtl --- diff --git a/apps/files/lib/Capabilities.php b/apps/files/lib/Capabilities.php index 270c6954a1a..1318a56f717 100644 --- a/apps/files/lib/Capabilities.php +++ b/apps/files/lib/Capabilities.php @@ -100,6 +100,7 @@ class Capabilities implements ICapability { $id = $creator->getId(); $capabilities['creators'][$id] = [ 'id' => $id, + 'editor' => $editor->getId(), 'name' => $creator->getName(), 'extension' => $creator->getExtension(), 'templates' => $creator instanceof ACreateFromTemplate,