summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-02 16:46:51 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-02 16:46:51 -0500
commitab16bb876b895c16f3a7da8eb658e68dc9a9eb24 (patch)
treeaef498307290afc2ffc3fafe8dd554923335c73f /scripts
parentdaa5797809ec9315db463c5ecc721f1273c0d17e (diff)
parentb6f0f72a0992596f68f5aa1d4513e6bd3884a2c0 (diff)
Merge branch 'master' of git@gitorious.org:laconica/dev into 0.7.x
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);