aboutsummaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage/ajax/revokeToken.php
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-05-09 15:40:39 +0200
committerMichiel de Jong <michiel@unhosted.org>2012-05-09 15:40:39 +0200
commit890c57bad5fc98ba926c40312d1bc2673ae486e9 (patch)
tree298f0b0ac0565598f046b79e1a01fbdc8159c4c1 /apps/remoteStorage/ajax/revokeToken.php
parent4de182c7af6d9c97a6696366dd1889a87b24c403 (diff)
downloadnextcloud-server-890c57bad5fc98ba926c40312d1bc2673ae486e9.tar.gz
nextcloud-server-890c57bad5fc98ba926c40312d1bc2673ae486e9.zip
fix requires in apps/remoteStorage/ajax/revoke.php
Diffstat (limited to 'apps/remoteStorage/ajax/revokeToken.php')
-rwxr-xr-xapps/remoteStorage/ajax/revokeToken.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/remoteStorage/ajax/revokeToken.php b/apps/remoteStorage/ajax/revokeToken.php
index 235a02107e6..30263026708 100755
--- a/apps/remoteStorage/ajax/revokeToken.php
+++ b/apps/remoteStorage/ajax/revokeToken.php
@@ -29,9 +29,15 @@
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
+require_once('../../../lib/base.php');
+
+require_once('../../../lib/user.php');
+require_once('../../../lib/public/user.php');
+
+require_once('../../../lib/app.php');
+require_once('../../../lib/public/app.php');
OCP\App::checkAppEnabled('remoteStorage');
-require_once('Sabre/autoload.php');
require_once('../lib_remoteStorage.php');
ini_set('default_charset', 'UTF-8');