[Owncloud] bugfixing help needed

Bjoern Schiessle schiessle at owncloud.com
Mon Jun 25 08:35:04 UTC 2012


Hi Klaas,

On Mon, 25 Jun 2012 10:28:29 +0200 Klaas Freitag wrote:
> >> http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1100
> Find attached my very naive fix to oc-1100. Works fine here, but not 
> sure if it's allowed to easily call file_exists or if it should
> rather be OC_Filesystem::file_exists().
> 
> Please doublecheck and commit or not ;-)

I just committed the same fix a few minutes ago. :-)

I think in this case it is OK to call file_exists() since to my
knowledge the gallery thumbnails are always stored locally. Otherwise
the delete operation wouldn't be done by a simple unlink() operation.

cheers,
Björn




More information about the Owncloud mailing list