diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-30 23:10:08 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-30 23:17:30 +0200 |
commit | 9a5d517ec2d90698c98cf57cd5a12b4d1a40f53f (patch) | |
tree | 6769a9c99d3ed09daa5453830a3a7cefa824433e /settings/ajax/enableapp.php | |
parent | f4782a76907cf010faf9f4cd7deb3a67a2d02de9 (diff) | |
download | nextcloud-server-9a5d517ec2d90698c98cf57cd5a12b4d1a40f53f.tar.gz nextcloud-server-9a5d517ec2d90698c98cf57cd5a12b4d1a40f53f.zip |
Add more checks for admin user
Diffstat (limited to 'settings/ajax/enableapp.php')
-rw-r--r-- | settings/ajax/enableapp.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php index 8be80cd2ece..639df2aecc0 100644 --- a/settings/ajax/enableapp.php +++ b/settings/ajax/enableapp.php @@ -2,6 +2,7 @@ // Init owncloud require_once('../../lib/base.php'); +OC_JSON::checkAdminUser(); OC_JSON::setContentTypeHeader(); OC_App::enable($_POST['appid']); |