Merge pull request #13188 from owncloud/add-check-if-user-is-logged-in

Add check if user is logged-in
This commit is contained in:
Thomas Müller 2015-01-09 16:45:53 +01:00
commit b1031c6355
2 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,6 @@
<?php
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
OCP\JSON::checkAppEnabled('files_versions');
$source = $_GET['source'];

View file

@ -1,5 +1,6 @@
<?php
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('files_versions');
OCP\JSON::callCheck();