1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 18:56:44 +02:00

Rename user.unreadNotificationsCount

This commit is contained in:
Toby Zerner
2018-08-24 21:36:33 +09:30
parent d8d2de438f
commit 37ffd04b3f
6 changed files with 6 additions and 6 deletions

View File

@@ -417,7 +417,7 @@ class User extends AbstractModel
*
* @return int
*/
public function getUnreadNotificationsCount()
public function getUnreadNotificationCount()
{
return $this->getUnreadNotifications()->count();
}