summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/settings-admin.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-06-12 16:48:45 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-06-13 12:00:23 +0200
commit42bf466fa1c64fb6c37f0521fa27ec1b27943e35 (patch)
tree1c23c9513c197d5e07ed492efe82e0ce8b182d3e /apps/files_sharing/settings-admin.php
parent7e8784c075b5e56abf44d0eb0c2e357be8342ca5 (diff)
downloadnextcloud-server-42bf466fa1c64fb6c37f0521fa27ec1b27943e35.tar.gz
nextcloud-server-42bf466fa1c64fb6c37f0521fa27ec1b27943e35.zip
move mail template editor from core to standalone templateeditor repo
Diffstat (limited to 'apps/files_sharing/settings-admin.php')
-rw-r--r--apps/files_sharing/settings-admin.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/files_sharing/settings-admin.php b/apps/files_sharing/settings-admin.php
deleted file mode 100644
index 8f15e272312..00000000000
--- a/apps/files_sharing/settings-admin.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/**
- * Copyright (c) 2011 Robin Appelman <icewind@owncloud.com>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- */
-
-\OC_Util::checkAdminUser();
-
-\OCP\Util::addStyle('files_sharing', 'settings-admin');
-\OCP\Util::addScript('files_sharing', 'settings-admin');
-
-$themes = \OCA\Files_Sharing\MailTemplate::getEditableThemes();
-$editableTemplates = \OCA\Files_Sharing\MailTemplate::getEditableTemplates();
-
-$tmpl = new OCP\Template('files_sharing', 'settings-admin');
-$tmpl->assign('themes', $themes);
-$tmpl->assign('editableTemplates', $editableTemplates);
-
-return $tmpl->fetchPage();