Minor fix to allow update_facebook script to bootstrap correctly
This commit is contained in:
parent
d3b30164be
commit
c33258c40e
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user