summaryrefslogtreecommitdiffstats
path: root/apps/files_external/settings.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-12-17 14:46:57 +0100
committerFrank Karlitschek <frank@owncloud.org>2012-12-17 14:46:57 +0100
commitc4ecbad0099c31611155e4712f2cac2b9ced26a4 (patch)
tree0ae9d5969a2ea5cd2de3b0f22f094aa3c92e5ead /apps/files_external/settings.php
parente16be33384e49276ef9b483b6c8f667ad688e372 (diff)
downloadnextcloud-server-c4ecbad0099c31611155e4712f2cac2b9ced26a4.tar.gz
nextcloud-server-c4ecbad0099c31611155e4712f2cac2b9ced26a4.zip
check if admin
Diffstat (limited to 'apps/files_external/settings.php')
-rw-r--r--apps/files_external/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/settings.php b/apps/files_external/settings.php
index 2f239f7cb95..cd0bfa99585 100644
--- a/apps/files_external/settings.php
+++ b/apps/files_external/settings.php
@@ -20,6 +20,8 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+OC_Util::checkAdminUser();
+
OCP\Util::addScript('files_external', 'settings');
OCP\Util::addscript('3rdparty', 'chosen/chosen.jquery.min');
OCP\Util::addStyle('files_external', 'settings');