From c33258c40e3b60c2e82cda0b360fac09c0315292 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Mon, 2 Feb 2009 16:36:47 +0000 Subject: [PATCH] Minor fix to allow update_facebook script to bootstrap correctly --- scripts/update_facebook.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/update_facebook.php b/scripts/update_facebook.php index 485b2a342d..141bcfe0ca 100755 --- a/scripts/update_facebook.php +++ b/scripts/update_facebook.php @@ -86,9 +86,13 @@ if ($cnt > 0) { ": Found $cnt new notices to send to Facebook since last run at " . date('Y-m-d H:i:s', $since) . "\n"; - updateLastUpdated($current_time); } +#Save the last updated time. It needs to do this even if there were no +#changes made, otherwise it will never create it and thus never send +#any updates at all. +updateLastUpdated($current_time); + exit(0); -- 2.39.5