[cvs] commit: incubator/beatnik editrec.php viewzone.php incubator/beatnik/lib Beatnik.php base.php incubator/beatnik/templates menu.inc incubator/beatnik/templates/view header.inc
Duck
duck at obala.net
Tue Aug 8 01:55:50 PDT 2006
duck 2006-08-08 01:55:50 PDT
Modified files:
beatnik editrec.php viewzone.php
beatnik/lib Beatnik.php base.php
beatnik/templates menu.inc
beatnik/templates/view header.inc
Log:
Beatnik::getDomains() cannot return an error but pushes an notification message and returns an empty array. So we don't need to recheck output.
Move the empty check from getDefaultDomains to getDomains. Since we should notify about empty results even after permission check. Now the getDefaultDomains can be completely avoided.
Do not need the set curdomain as is already in session
Revision Changes Path
1.16 +3 -3 incubator/beatnik/editrec.php
1.30 +7 -22 incubator/beatnik/lib/Beatnik.php
1.19 +11 -14 incubator/beatnik/lib/base.php
1.13 +2 -2 incubator/beatnik/templates/menu.inc
1.8 +3 -3 incubator/beatnik/templates/view/header.inc
1.16 +4 -4 incubator/beatnik/viewzone.php
Chora Links:
http://cvs.horde.org/diff.php/incubator/beatnik/editrec.php?r1=1.15&r2=1.16&ty=u
http://cvs.horde.org/diff.php/incubator/beatnik/lib/Beatnik.php?r1=1.29&r2=1.30&ty=u
http://cvs.horde.org/diff.php/incubator/beatnik/lib/base.php?r1=1.18&r2=1.19&ty=u
http://cvs.horde.org/diff.php/incubator/beatnik/templates/menu.inc?r1=1.12&r2=1.13&ty=u
http://cvs.horde.org/diff.php/incubator/beatnik/templates/view/header.inc?r1=1.7&r2=1.8&ty=u
http://cvs.horde.org/diff.php/incubator/beatnik/viewzone.php?r1=1.15&r2=1.16&ty=u
More information about the cvs
mailing list