[pLog-svn] r5910 - plog/trunk/class/file

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Sep 6 17:28:47 EDT 2007


Author: oscar
Date: 2007-09-06 17:28:47 -0400 (Thu, 06 Sep 2007)
New Revision: 5910

Modified:
   plog/trunk/class/file/file.class.php
Log:
Ooops, I forgot to make another chatty function to shut up when there's problems...

Modified: plog/trunk/class/file/file.class.php
===================================================================
--- plog/trunk/class/file/file.class.php	2007-09-06 21:28:08 UTC (rev 5909)
+++ plog/trunk/class/file/file.class.php	2007-09-06 21:28:47 UTC (rev 5910)
@@ -432,7 +432,7 @@
               // One way to potentially fix this is to look at the result of
               // unlink, and then delete the copy if unlink returned FALSE, 
               // but this call to unlink could just as easily fail
-              unlink( $inFile );
+              @unlink( $inFile );
             
               return true;;
           }



More information about the pLog-svn mailing list