diff --git a/apps/files_sharing/ajax/testremote.php b/apps/files_sharing/ajax/testremote.php index 08149bf7ec..1499278701 100644 --- a/apps/files_sharing/ajax/testremote.php +++ b/apps/files_sharing/ajax/testremote.php @@ -6,6 +6,7 @@ * See the COPYING-README file. */ +OCP\JSON::callCheck(); OCP\JSON::checkAppEnabled('files_sharing'); $remote = $_GET['remote'];