add notification for Character titles
This commit is contained in:
parent
edbacf19a8
commit
7d0ff7f569
3 changed files with 20 additions and 1 deletions
|
|
@ -65,7 +65,7 @@
|
|||
$character['id']
|
||||
);
|
||||
|
||||
// Add notifications
|
||||
// Add notification
|
||||
$this->Notification->addNotification(
|
||||
\hhu\z\controllers\components\NotificationComponent::TYPE_ACHIEVEMENT,
|
||||
$achievement['title'],
|
||||
|
|
@ -130,6 +130,14 @@
|
|||
$character['id']
|
||||
);
|
||||
|
||||
// Add notification
|
||||
$this->Notification->addNotification(
|
||||
\hhu\z\controllers\components\NotificationComponent::TYPE_CHARACTERTITLE,
|
||||
($character['gender'] === 1)
|
||||
? $title['title_male']
|
||||
: $title['title_female']
|
||||
);
|
||||
|
||||
// Redirect
|
||||
$this->redirect(
|
||||
$this->linker->link(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue