mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Update the ProcessModule "found new module..." notification to use the Notice::noGroup option, making it harder to miss
This commit is contained in:
@@ -885,7 +885,9 @@ class ProcessModule extends Process {
|
||||
$class = 'not_installed';
|
||||
if(count($uninstalledPrev) && !in_array($name, $uninstalledPrev)) {
|
||||
$class .= " new_module";
|
||||
if(!$input->get('uninstalled')) $this->message($this->_("Found new module") . " - $name"); // Message that precedes module name when new module is found
|
||||
if(!$input->get('uninstalled')) {
|
||||
$this->message($this->_("Found new module") . " - $name", Notice::noGroup); // Message that precedes module name when new module is found
|
||||
}
|
||||
$newModules[$name] = time();
|
||||
$this->numFound++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user