Merge branch 'akaunting:master' into master
This commit is contained in:
commit
166f7f53bf
@ -32,7 +32,12 @@ class ShowInNotifications
|
||||
|
||||
foreach ($updates as $key => $update) {
|
||||
$prefix = ($key == 'core') ? 'core' : 'module';
|
||||
$name = ($prefix == 'core') ? 'Akaunting' : module($key)->getName();
|
||||
|
||||
if ($prefix == 'module' && ! module($key)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$name = ($prefix == 'core') ? 'Akaunting' : module($key)?->getName();
|
||||
|
||||
$new = new DatabaseNotification();
|
||||
$new->id = $key;
|
||||
|
Loading…
x
Reference in New Issue
Block a user