diff options
Diffstat (limited to 'apps/files_versions/ajax')
-rwxr-xr-x[-rw-r--r--] | apps/files_versions/ajax/getVersions.php | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | apps/files_versions/ajax/rollbackVersion.php | 2 |
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']; |