Modules\Manager: no warning for duplicate modules

Formerly we logged a warning if a module was found in multiple module
paths. This is pointless, because as soon as you got a default module
installed by your distribution and "upgraded" it via your web frontend
this "error" will be the default. Logging at debug level right now.
This commit is contained in:
Thomas Gelf 2014-05-20 22:39:32 +00:00
parent 51c3fed743
commit 78bc2b4ec7
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ class Manager
if (! array_key_exists($file, $this->installedBaseDirs)) { if (! array_key_exists($file, $this->installedBaseDirs)) {
$this->installedBaseDirs[$file] = $canonical . '/' . $file; $this->installedBaseDirs[$file] = $canonical . '/' . $file;
} else { } else {
Logger::warning( Logger::debug(
'Module "%s" already exists in installation path "%s" and is ignored.', 'Module "%s" already exists in installation path "%s" and is ignored.',
$canonical . '/' . $file, $canonical . '/' . $file,
$this->installedBaseDirs[$file] $this->installedBaseDirs[$file]