summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/history.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/history.php')
-rw-r--r--apps/files_versions/history.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_versions/history.php b/apps/files_versions/history.php
index e3332d7cdb6..a34c92ee422 100644
--- a/apps/files_versions/history.php
+++ b/apps/files_versions/history.php
@@ -30,7 +30,7 @@ if ( isset( $_GET['path'] ) ) {
$path = $_GET['path'];
$path = strip_tags( $path );
$tmpl->assign( 'path', $path );
- $versions = new OCA_Versions\Storage( new OC_FilesystemView('') );
+ $versions = new OCA_Versions\Storage();
// roll back to old version if button clicked
if( isset( $_GET['revert'] ) ) {
@@ -71,5 +71,3 @@ if ( isset( $_GET['path'] ) ) {
}
$tmpl->printPage( );
-
-?>