Skip to content

Commit

Permalink
Merge pull request #13320 from owncloud/fix-php-doc-for-files-view
Browse files Browse the repository at this point in the history
Fix annotations in file view
  • Loading branch information
MorrisJobke committed Jan 13, 2015
2 parents 5567228 + 0a400b4 commit c8fa854
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/private/files/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ protected function removeMount($mount, $path) {
}
}

/**
* @param string $path
* @return bool|mixed
*/
public function rmdir($path) {
$absolutePath = $this->getAbsolutePath($path);
$mount = Filesystem::getMountManager()->find($absolutePath);
Expand Down Expand Up @@ -435,11 +439,17 @@ public function unlink($path) {

/**
* @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) === '/') ? '/' : '';
Expand Down

0 comments on commit c8fa854

Please sign in to comment.