owncloud/core — pull request #8186 by Xenopathic (2014-04-13 12:49:55+00:00)
Title: Adjust logic for deciding if trashbin empty

Any error in opening the trashbin directory returns 'true' for `isEmpty`. An error is prevented by checking if the directory exists before trying to open it.