summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/ajax
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 18:50:31 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 18:50:31 +0200
commit70cea18cce0fcdb4d8118ff2d7abccc922417a6a (patch)
tree7f8c476cb75b38fea3ed4ad555f00885f6da2670 /apps/files_versions/ajax
parentdc7cdda5ccc7d40bf9865e1af5a7846782ec700b (diff)
downloadnextcloud-server-70cea18cce0fcdb4d8118ff2d7abccc922417a6a.tar.gz
nextcloud-server-70cea18cce0fcdb4d8118ff2d7abccc922417a6a.zip
ported getUser
Diffstat (limited to 'apps/files_versions/ajax')
-rwxr-xr-x[-rw-r--r--]apps/files_versions/ajax/getVersions.php2
-rwxr-xr-x[-rw-r--r--]apps/files_versions/ajax/rollbackVersion.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/ajax/getVersions.php b/apps/files_versions/ajax/getVersions.php
index 32aac10b718..9f5b5908797 100644..100755
--- a/apps/files_versions/ajax/getVersions.php
+++ b/apps/files_versions/ajax/getVersions.php
@@ -4,7 +4,7 @@ require_once('../../../lib/base.php');
OC_JSON::checkAppEnabled('files_versions');
require_once('../versions.php');
-$userDirectory = "/".OC_User::getUser()."/files";
+$userDirectory = "/".OCP\USER::getUser()."/files";
$source = $_GET['source'];
$source = strip_tags( $source );
diff --git a/apps/files_versions/ajax/rollbackVersion.php b/apps/files_versions/ajax/rollbackVersion.php
index 660411973a2..a7b18c4e091 100644..100755
--- a/apps/files_versions/ajax/rollbackVersion.php
+++ b/apps/files_versions/ajax/rollbackVersion.php
@@ -4,7 +4,7 @@ require_once('../../../lib/base.php');
OC_JSON::checkAppEnabled('files_versions');
require_once('../versions.php');
-$userDirectory = "/".OC_User::getUser()."/files";
+$userDirectory = "/".OCP\USER::getUser()."/files";
$source = $_GET['source'];