From 34223cdbb7360a628cca2fa954beaad582c7a6db Mon Sep 17 00:00:00 2001 From: 8chan Date: Sat, 30 Aug 2014 20:06:48 +0000 Subject: [PATCH] Add time to expire log when we expire --- expire.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expire.php b/expire.php index 59c9a0c9..f702fbcb 100644 --- a/expire.php +++ b/expire.php @@ -57,7 +57,7 @@ foreach($boards as $board) { } if ($argc > 1) { $f = fopen('rip.txt', 'a'); -fwrite($f, "--\r\n"); +fwrite($f, "--\r\n".date('c')."\r\n"); foreach($delete as $i => $d){ $s = "RIP /".$d['board']."/, created by ".($d['mod']?$d['mod']:'?')." and last active on ".$d['last_activity']->format('Y-m-d H:i:s.').($d['last_mod'] ? ' Mod last active on ' . $d['last_mod']->format('Y-m-d H:i:s.') : ' Mod never active.') . " Number of posts: {$d['count']}." . "\r\n"; echo $s;