summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-07-09 16:07:26 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-07-11 11:06:29 +0200
commite248412ca9e9b75db5c7a4cc9651391e341c66f5 (patch)
treeaef16016bdade5ab0a5b995e0fc9a0fa364eedda /apps/files_versions/ajax
parent0f0aa1827f446ca531732bb1c807c244ef66676a (diff)
downloadnextcloud-server-e248412ca9e9b75db5c7a4cc9651391e341c66f5.tar.gz
nextcloud-server-e248412ca9e9b75db5c7a4cc9651391e341c66f5.zip
use getStorage() to get versions location
update routine implemented version number of files_versions increased Conflicts: apps/files_versions/lib/hooks.php
Diffstat (limited to 'apps/files_versions/ajax')
-rw-r--r--apps/files_versions/ajax/expireAll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/ajax/expireAll.php b/apps/files_versions/ajax/expireAll.php
index 238e3bdad4d..4f165be0ae9 100644
--- a/apps/files_versions/ajax/expireAll.php
+++ b/apps/files_versions/ajax/expireAll.php
@@ -28,7 +28,7 @@
OCP\JSON::checkLoggedIn();
OCP\App::checkAppEnabled('files_versions');
-$versions = new OCA_Versions\Storage( new OC_FilesystemView('') );
+$versions = new OCA_Versions\Storage();
if( $versions->expireAll() ){