[Owncloud] Code review? OC_Image class

Thomas Olsen thomas at tanghus.net
Mon Jan 2 23:40:00 UTC 2012


On Monday 02 January 2012 23:29 Bartek Przybylski wrote:
> howdy!
> One more thing,in function _output in switch as default action you are
> handling given file as png.
> however afaik only scenario in which this action will be triggered is
> that a given file is TIFF file, other should be recognize, so o think
> you could just do $retval = false
> 
> do you agree?

Yeah. No need trying to load what hasn't been caught by the other cases.
It's in master now btw, should you have use for it.

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus



More information about the Owncloud mailing list