zidify img links, delay notifier until actually published for time travelling posts

This commit is contained in:
friendica
2013-05-27 05:27:35 -07:00
parent 5c1f959c18
commit df32c93d56
6 changed files with 44 additions and 10 deletions

View File

@@ -208,6 +208,10 @@ function notifier_run($argv, $argc){
if($target_item['item_restrict'] & ITEM_DELETED)
logger('notifier: target item ITEM_DELETED', LOGGER_DEBUG);
if($target_item['item_restrict'] & ITEM_DELAYED_PUBLISH) {
logger('notifier: target item ITEM_DELAYED_PUBLISH', LOGGER_DEBUG);
return;
}
$s = q("select * from channel where channel_id = %d limit 1",
intval($target_item['uid'])