From fb1b88ac63bbc171104559ce3a5ea0d84791249e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Tue, 26 Nov 2019 13:56:38 +0100 Subject: [PATCH] Expose editor id for creators MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files/lib/Capabilities.php | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5