[pLog-svn] r6827 - in plugins/branches/lifetype-1.2/clean: . class/dao

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Feb 21 16:34:37 EST 2009


Author: jondaley
Date: 2009-02-21 16:34:37 -0500 (Sat, 21 Feb 2009)
New Revision: 6827

Modified:
   plugins/branches/lifetype-1.2/clean/class/dao/unusedblogs.class.php
   plugins/branches/lifetype-1.2/clean/pluginclean.class.php
Log:
simplified timestamp (now uses right now, rather than the beginning of the day, for easier debugging, doesn't really affect users).  updated version number

Modified: plugins/branches/lifetype-1.2/clean/class/dao/unusedblogs.class.php
===================================================================
--- plugins/branches/lifetype-1.2/clean/class/dao/unusedblogs.class.php	2009-02-21 21:15:58 UTC (rev 6826)
+++ plugins/branches/lifetype-1.2/clean/class/dao/unusedblogs.class.php	2009-02-21 21:34:37 UTC (rev 6827)
@@ -110,12 +110,7 @@
 
             $time = new Timestamp();
             $time->subtractSeconds( $duration * 24 * 60 * 60 );
-			$startTime = $time->getYear().$time->getMonth();
-			if( $time->getDay() < 10 )
-				$startTime .= "0";
-			$startTime .= $time->getDay();
-			$startTime .= "000000";
-			return $startTime;
+            return $time->getTimestamp();
 		}
 		
     }

Modified: plugins/branches/lifetype-1.2/clean/pluginclean.class.php
===================================================================
--- plugins/branches/lifetype-1.2/clean/pluginclean.class.php	2009-02-21 21:15:58 UTC (rev 6826)
+++ plugins/branches/lifetype-1.2/clean/pluginclean.class.php	2009-02-21 21:34:37 UTC (rev 6827)
@@ -10,7 +10,7 @@
             $this->id = "clean";
             $this->author = "Mai Minh";
             $this->desc = "This plugin cleans unused blogs.";
-            $this->version = "20090213";
+            $this->version = "20090221";
   
             $this->locales = Array( "en_UK" , "zh_TW" );
             



More information about the pLog-svn mailing list