diff --git a/core/ajax/update.php b/core/ajax/update.php index b2ca0e3c8e..a9ab731627 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