aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-01 16:34:04 -0700
committerfriendica <info@friendica.com>2014-06-01 16:36:11 -0700
commitddcf905d03d06dd145b3351901d46f15d1857ed2 (patch)
tree837fac73c46e465d3340e360d6b9c213abd86acc /include
parent3821efb99ed2377f5380bf37a0a1ac3412d08c82 (diff)
downloadvolse-hubzilla-ddcf905d03d06dd145b3351901d46f15d1857ed2.tar.gz
volse-hubzilla-ddcf905d03d06dd145b3351901d46f15d1857ed2.tar.bz2
volse-hubzilla-ddcf905d03d06dd145b3351901d46f15d1857ed2.zip
regression: (-1) update_flag still exists in one function. This should be UPDATE_FLAGS_FORCED or 2.
Diffstat (limited to 'include')
-rw-r--r--include/dir_fns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index a96e7821f..71800cb47 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -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));
}