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:
commit
b1031c6355
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
OCP\JSON::checkLoggedIn();
|
||||
OCP\JSON::callCheck();
|
||||
OCP\JSON::checkAppEnabled('files_versions');
|
||||
|
||||
$source = $_GET['source'];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
|
||||
OCP\JSON::checkLoggedIn();
|
||||
OCP\JSON::checkAppEnabled('files_versions');
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
|
|
Loading…
Reference in New Issue