owncloud/core — pull request #10692 by th3fallen (2014-08-28 13:26:10+00:00)
Title: Fixing trash bin deleting itself

Sadly i was not able to find a way to use the current file methods i.e. $this->rmdir as they want relative paths and the RecursiveDirectoryIterator requires absolute paths.

this will fix https://github.com/owncloud/core/issues/10668 and https://github.com/owncloud/core/issues/10535