friendica/friendica — pull request #791 by fabrixxm (2013-10-21 18:10:03+00:00)
Title: clear_cache() check if cache dir is writable before opening it

If cache dir is writable by webserver but not by cron user, clear_cache() will fail silently, without raising warnings (and without filling my inbox :) )