summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/hooks.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-10 13:18:36 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-10 13:18:36 +0200
commitaaa1b733642c41821a53bc6d04fab246bfe7f1e6 (patch)
treed5eb087401acb4591f176a87c01f276f42a307af /apps/files_versions/lib/hooks.php
parentc88c54bbb054fe2d79b3a93604989d527b5dd444 (diff)
downloadnextcloud-server-aaa1b733642c41821a53bc6d04fab246bfe7f1e6.tar.gz
nextcloud-server-aaa1b733642c41821a53bc6d04fab246bfe7f1e6.zip
don't use depricated OC_Filesystem
Diffstat (limited to 'apps/files_versions/lib/hooks.php')
-rw-r--r--apps/files_versions/lib/hooks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/lib/hooks.php b/apps/files_versions/lib/hooks.php
index 9ec0b01a7f9..7cb3170df23 100644
--- a/apps/files_versions/lib/hooks.php
+++ b/apps/files_versions/lib/hooks.php
@@ -21,9 +21,9 @@ class Hooks {
if(\OCP\Config::getSystemValue('files_versions', Storage::DEFAULTENABLED)=='true') {
- $versions = new Storage( new \OC_FilesystemView('') );
+ $versions = new Storage( new \OC\Files\View('') );
- $path = $params[\OC_Filesystem::signal_param_path];
+ $path = $params[\OC\Files\Filesystem::signal_param_path];
if($path<>'') $versions->store( $path );