regression: (-1) update_flag still exists in one function. This should be UPDATE_FLAGS_FORCED or 2.

This commit is contained in:
friendica 2014-06-01 16:34:04 -07:00
parent 3821efb99e
commit ddcf905d03

View file

@ -249,7 +249,7 @@ function local_dir_update($uid,$force) {
}
$ud_hash = random_string() . '@' . get_app()->get_hostname();
update_modtime($hash,$ud_hash,$p[0]['channel_address'] . '@' . get_app()->get_hostname(),(($force) ? (-1) : 1));
update_modtime($hash,$ud_hash,$p[0]['channel_address'] . '@' . get_app()->get_hostname(),(($force) ? UPDATE_FLAGS_FORCED : UPDATE_FLAGS_UPDATED));
}