setup module browsing perf improvement

When a module descriptor file is found, do not dig anymore in subdirectories
2nd fix, should be better than previous one (4042a12d reverted with 5ebc290b)
This commit is contained in:
Pierre Goiffon
2019-11-21 17:44:04 +01:00
parent 06791b06c4
commit 3a791162c5

View File

@@ -345,6 +345,10 @@ class iTopExtensionsMap
$oExtension->bVisible = $bVisible;
$this->AddExtension($oExtension);
}
closedir($hDir);
return true; // we found a module, no more digging necessary !
}
}
}