summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/editevent.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-30 23:05:10 +0200
committerBart Visscher <bartv@thisnet.nl>2011-09-30 23:17:18 +0200
commitf4782a76907cf010faf9f4cd7deb3a67a2d02de9 (patch)
treeff3236d0f2785bc6946e84a80e69cf65a1fd6559 /apps/calendar/ajax/editevent.php
parentddd359989909add47912ad358bec55a924907d81 (diff)
downloadnextcloud-server-f4782a76907cf010faf9f4cd7deb3a67a2d02de9.tar.gz
nextcloud-server-f4782a76907cf010faf9f4cd7deb3a67a2d02de9.zip
Check if the application is actually enabled
Diffstat (limited to 'apps/calendar/ajax/editevent.php')
-rw-r--r--apps/calendar/ajax/editevent.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/ajax/editevent.php b/apps/calendar/ajax/editevent.php
index 7187e05d56f..3abf4de98b3 100644
--- a/apps/calendar/ajax/editevent.php
+++ b/apps/calendar/ajax/editevent.php
@@ -13,6 +13,7 @@ $l10n = new OC_L10N('calendar');
if(!OC_USER::isLoggedIn()) {
die('<script type="text/javascript">document.location = oc_webroot;</script>');
}
+OC_JSON::checkAppEnabled('calendar');
$errarr = OC_Calendar_Object::validateRequest($_POST);
if($errarr){