Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/DAV/FSExt/Directory.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ public function getChildren()

/**
* Deletes all files in this directory, and then itself.
*
* @return bool
*/
public function delete()
{
Expand All @@ -155,8 +153,6 @@ public function delete()

// Removing the directory itself
rmdir($this->path);

return true;
}

/**
Expand Down
4 changes: 1 addition & 3 deletions lib/DAV/FSExt/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,10 @@ public function get()

/**
* Delete the current file.
*
* @return bool
*/
public function delete()
{
return unlink($this->path);
unlink($this->path);
}

/**
Expand Down