Skip to content
Snippets Groups Projects
Commit c8fa8545 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #13320 from owncloud/fix-php-doc-for-files-view

Fix annotations in file view
parents 55672280 0a400b45
No related branches found
No related tags found
No related merge requests found
......@@ -212,6 +212,10 @@ class View {
}
}
/**
* @param string $path
* @return bool|mixed
*/
public function rmdir($path) {
$absolutePath = $this->getAbsolutePath($path);
$mount = Filesystem::getMountManager()->find($absolutePath);
......@@ -435,11 +439,17 @@ class View {
/**
* @param string $directory
* @return bool|mixed
*/
public function deleteAll($directory, $empty = false) {
public function deleteAll($directory) {
return $this->rmdir($directory);
}
/**
* @param string $path1
* @param string $path2
* @return bool|mixed
*/
public function rename($path1, $path2) {
$postFix1 = (substr($path1, -1, 1) === '/') ? '/' : '';
$postFix2 = (substr($path2, -1, 1) === '/') ? '/' : '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment