[cvs] commit: ansel/lib api.php
Michael Rubinsky
mike at theupstairsroom.com
Tue Jul 4 07:42:44 PDT 2006
mrubinsk 2006-07-04 07:42:44 PDT
Modified files:
lib api.php
Log:
We now require a gallery_id when adding an image via the api. Return a PEAR_Error if it is missing, instead of trying to create one.
....and yes, Ansel_Gallery::exists() *does* take the gallery_name, not the gallery_id - jeez, hopefully this is the last time I'll screw that up ;)
Also remove the unused $perms parameter to _ansel_saveImage() - it is not used when IMP calls this, but if anyone objects, I'll add it back in for bc.
Revision Changes Path
1.29 +6 -15 ansel/lib/api.php
Chora Links:
http://cvs.horde.org/diff.php/ansel/lib/api.php?r1=1.28&r2=1.29&ty=u
More information about the cvs
mailing list