summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Millette <millette@plantard.controlezvous.ca>2009-02-02 18:03:52 +0000
committerRobin Millette <millette@plantard.controlezvous.ca>2009-02-02 18:03:52 +0000
commit655869989f2f1f8d826c5bc4e8762ca97a33fd62 (patch)
tree0d952c9dd81fb7524ca80df19273e9569ba161ec
parentb21ca289668b3549fc4c384981f0cd895300505b (diff)
parentc33258c40e3b60c2e82cda0b360fac09c0315292 (diff)
Merge branch 'master' of git@gitorious.org:laconica/dev
-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);