summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 6a274b76309..6d2dccfac7d 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -2,6 +2,8 @@
set_time_limit(0);
require_once '../../lib/base.php';
+\OCP\JSON::callCheck();
+
if (OC::checkUpgrade(false)) {
// if a user is currently logged in, their session must be ignored to
// avoid side effects