regression: (-1) update_flag still exists in one function. This should be UPDATE_FLAGS_FORCED or 2.
This commit is contained in:
parent
3821efb99e
commit
ddcf905d03
@ -249,7 +249,7 @@ function local_dir_update($uid,$force) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$ud_hash = random_string() . '@' . get_app()->get_hostname();
|
$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));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user