OCA_Versions is now known as OCA\Files_Versions
This commit is contained in:
parent
35bd7a400d
commit
c81d7b0b90
|
@ -65,7 +65,7 @@ class Trashbin {
|
|||
if ( \OCP\App::isEnabled('files_versions') ) {
|
||||
if ( $view->is_dir('files_versions'.$file_path) ) {
|
||||
$view->rename('files_versions'.$file_path, 'versions_trashbin/'. $deleted.'.d'.$timestamp);
|
||||
} else if ( $versions = \OCA_Versions\Storage::getVersions($file_path) ) {
|
||||
} else if ( $versions = \OCA\Files_Versions\Storage::getVersions($file_path) ) {
|
||||
foreach ($versions as $v) {
|
||||
$view->rename('files_versions'.$v['path'].'.v'.$v['version'], 'versions_trashbin/'. $deleted.'.v'.$v['version'].'.d'.$timestamp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue