owncloud/core — pull request #6158 by icewind1991 (2013-12-02 21:45:32+00:00)
Title: check if a directory exists before we try to remove it

For #6155

cc @PVince81 @karlitschek @DeepDiver1975