Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Index new detected items recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jan 12, 2015
1 parent 88b20ab commit 9652efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/meta.syncable/class.ChangesTracker.php
Expand Up @@ -100,7 +100,7 @@ protected function indexIsSync(){
if(!isSet($currentChildren[$f])){
// New items detected
$this->logDebug(__FUNCTION__, "New item detected on storage: ".$nodeUrl);
AJXP_Controller::applyHook("node.change", array(null, &$node, false));
AJXP_Controller::applyHook("node.change", array(null, &$node, false, true));
continue;
}else {
if(is_dir($nodeUrl)) continue; // Make sure to not trigger a recursive indexation here.
Expand Down

0 comments on commit 9652efc

Please sign in to comment.