1
0
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:
Ryan Cramer
2021-07-23 09:57:31 -04:00
parent e9754b1177
commit fbdf4257ce

View File

@@ -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++;
}