diff options
author | tobiasKaminsky <tobias@kaminsky.me> | 2019-10-31 09:18:05 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-27 14:36:20 +0100 |
commit | bccf2367384f3d093b2988eb6d09e4f9c9a899a4 (patch) | |
tree | e121b9d34004b1e0edb2b0f1e0186805207c81ce /lib/private/DirectEditing/Manager.php | |
parent | e52793c69ef3633f23a93f4358c361431f401569 (diff) | |
download | nextcloud-server-bccf2367384f3d093b2988eb6d09e4f9c9a899a4.tar.gz nextcloud-server-bccf2367384f3d093b2988eb6d09e4f9c9a899a4.zip |
encapsulate templates
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to 'lib/private/DirectEditing/Manager.php')
-rw-r--r-- | lib/private/DirectEditing/Manager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/DirectEditing/Manager.php b/lib/private/DirectEditing/Manager.php index 085a7de557a..353faedf7eb 100644 --- a/lib/private/DirectEditing/Manager.php +++ b/lib/private/DirectEditing/Manager.php @@ -88,7 +88,9 @@ class Manager implements IManager { $templates = $creator->getTemplates(); } } - return $templates; + $return = []; + $return['templates'] = $templates; + return $return; } public function create(string $path, string $editorId, string $creatorId, $templateId = null): string { |