diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-10 13:18:36 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-10 13:18:36 +0200 |
commit | aaa1b733642c41821a53bc6d04fab246bfe7f1e6 (patch) | |
tree | d5eb087401acb4591f176a87c01f276f42a307af /apps/files_versions/lib/hooks.php | |
parent | c88c54bbb054fe2d79b3a93604989d527b5dd444 (diff) | |
download | nextcloud-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.php | 4 |
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 ); |