MINOR Don't fail text collection for modules without any matching PHP files (only _config.php)

This commit is contained in:
Ingo Schommer 2012-05-01 22:05:54 +02:00
parent 7b18d9d0da
commit 0597e914ff

View File

@ -162,6 +162,7 @@ class i18nTextCollector extends Object {
//Debug::message("Processing Module '{$module}'", false);
// Search for calls in code files if these exists
$fileList = array();
if(is_dir("$this->basePath/$module/code")) {
$fileList = $this->getFilesRecursive("$this->basePath/$module/code");
} else if($module == FRAMEWORK_DIR || substr($module, 0, 7) == 'themes/') {