summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCiaran Gultnieks <ciaran@thurlow.(none)>2009-02-02 16:36:47 +0000
committerCiaran Gultnieks <ciaran@thurlow.(none)>2009-02-02 16:36:47 +0000
commitc33258c40e3b60c2e82cda0b360fac09c0315292 (patch)
tree940d503898ed18c22454be1795119922ac517e49 /scripts
parentd3b30164be2526b9440b1f9dfbe3a23421b8115a (diff)
Minor fix to allow update_facebook script to bootstrap correctly
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_facebook.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/update_facebook.php b/scripts/update_facebook.php
index 485b2a342..141bcfe0c 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);