summaryrefslogtreecommitdiffstats
path: root/apps/admin_export/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/admin_export/settings.php')
-rw-r--r--apps/admin_export/settings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/admin_export/settings.php b/apps/admin_export/settings.php
index 565c4b3db97..8308a2b89b5 100644
--- a/apps/admin_export/settings.php
+++ b/apps/admin_export/settings.php
@@ -20,6 +20,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
+OC_Util::checkAdminUser();
OC_Util::checkAppEnabled('admin_export');
if (isset($_POST['admin_export'])) {
$root = OC::$SERVERROOT . "/";