aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-03 21:00:42 -0800
committerfriendica <info@friendica.com>2014-03-03 21:00:42 -0800
commit3d49bf0320cd6a35e34da9694d3eb957053845a3 (patch)
tree203e3d7f773231b15252806220110bb3ce9cf985 /include/dir_fns.php
parentcdd2e9cd953394adfd6331c946466f3165606e29 (diff)
downloadvolse-hubzilla-3d49bf0320cd6a35e34da9694d3eb957053845a3.tar.gz
volse-hubzilla-3d49bf0320cd6a35e34da9694d3eb957053845a3.tar.bz2
volse-hubzilla-3d49bf0320cd6a35e34da9694d3eb957053845a3.zip
directory sync issues
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index c2e614831..aeee8492f 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -101,6 +101,9 @@ function sync_directories($dirmode) {
$ud_flags = 0;
if(is_array($t['flags']) && in_array('deleted',$t['flags']))
$ud_flags |= UPDATE_FLAGS_DELETED;
+ if(is_array($t['flags']) && in_array('forced',$t['flags']))
+ $ud_flags |= UPDATE_FLAGS_FORCED;
+
$z = q("insert into updates ( ud_hash, ud_guid, ud_date, ud_flags, ud_addr )
values ( '%s', '%s', '%s', %d, '%s' ) ",
dbesc($t['hash']),