[pLog-svn] r4302 - plog/branches/lifetype-1.1.3/class/cache/Cache_Lite

Oscar Renalias oscar at renalias.net
Thu Nov 16 07:54:40 GMT 2006


I can't remember why those fixes were made but I wouldn't like to
remove them. At least not until we had a proper and extensive set of
tests that would prove that they're not needed... but since that's not
going to happen for a while, let's leave them.

On 11/16/06, Jon Daley <plogworld at jon.limedaley.com> wrote:
>         I'll email the author with the typo in the second diff (below).  I
> am not sure why the first and the third changes were made?
>         This upgrade unfortunately didn't solve the problem I was hoping
> it would.  I am calling resetBlogCache or whatever it is called, but not
> all of the data is being erased...
>
> On Thu, 16 Nov 2006, jondaley at devel.lifetype.net wrote:
> > our changes.  Anyone know if the is_dir call is needed?  And does the
> > @unlink fail if the file doesn't exist?
>
> 581c577
> <         if (file_exists($file) && !@unlink($file)) {
> ---
> >         if (!@unlink($file)) {
>
>
> 633c629
> <                             case 'notingroup':
> ---
> >                             case 'notingrou':
>
>
> 756c752
> <         if (!is_dir(dirname($this->_file)) && $this->_hashedDirectoryLevel > 0) {
> ---
> >         if ($this->_hashedDirectoryLevel > 0) {
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list