[cvs] commit: ansel/lib Ansel.php ansel/lib/Block gallery.php

Michael Rubinsky mike at theupstairsroom.com
Thu Mar 20 20:46:37 UTC 2008


mrubinsk    2008-03-20 16:46:37 EDT

  Modified files:
    lib                  Ansel.php 
    lib/Block            gallery.php 
  Log:
  Combine the isOldEnough() check with a check for PERMS_READ to keep these
  types of checks in a single place.
  
  I still think this might be a bit of a performance hit when this is
  added to the gallery tiles as well, but it keeps the code cleaner.
  
  Chuck, does this look about right to you before I continue down this path?
  
  Revision  Changes    Path
  1.369     +7 -2      ansel/lib/Ansel.php
  1.29      +2 -2      ansel/lib/Block/gallery.php

  Chora Links:
  http://cvs.horde.org/diff.php/ansel/lib/Ansel.php?r1=1.368&r2=1.369&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/Block/gallery.php?r1=1.28&r2=1.29&ty=u


More information about the cvs mailing list