Path

ez projects / xrowcdn / forum / general / a small bug


A small bug

You need to be logged in to post messages in the forums. New users may register here.

Gaetano Giunta

Member since:
30 November 1999

Posts: 269

Thursday 21 July 2011 7:32:34 pm

In the cli script:



   xrowCDN::clean( $options['clear'] );


   $newtime = new DateTime( '1970-01-01T00:00:00' );


   xrowCDN::setLatestDistributionUpdate();


   ( $newtime );


   xrowCDN::setLatestDatabaseUpdate();


   ( $newtime );



I think that:
1: those numbers are meant to be passed to those functions
2. it is conceptually wrong to reset last updated time for bot content and dist files when only one item has been cleared. I suggest pushing the call to setLatestDatabaseUpdate into the xrowCDN::clean() method

Principal Consultant International Business
Member of the Community Project Board

Up

You need to be logged in to post messages in the forums. New users may register here.