diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-26 13:56:38 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-27 19:56:44 +0100 |
commit | fb1b88ac63bbc171104559ce3a5ea0d84791249e (patch) | |
tree | f68dc9bd76d899150e5829ae712b273c64894a3f | |
parent | 329e8c2604a35bded6afac75b59f611002d6db5e (diff) | |
download | nextcloud-server-fb1b88ac63bbc171104559ce3a5ea0d84791249e.tar.gz nextcloud-server-fb1b88ac63bbc171104559ce3a5ea0d84791249e.zip |
Expose editor id for creators
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | apps/files/lib/Capabilities.php | 1 |
1 files changed, 1 insertions, 0 deletions
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, |