1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00

improve deprecated message for b15

This commit is contained in:
Daniël Klabbers
2020-10-07 10:23:46 +02:00
parent 1e7bdf1636
commit 3a736d660b
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ namespace Flarum\User\Event;
use Flarum\User\User; use Flarum\User\User;
/** /**
* @deprecated beta 14, removed beta 15. * @deprecated beta 14, remove in beta 15.
*/ */
class GetDisplayName class GetDisplayName
{ {

View File

@@ -722,7 +722,7 @@ class User extends AbstractModel
$groupIds = array_merge($groupIds, [Group::MEMBER_ID], $this->groups->pluck('id')->all()); $groupIds = array_merge($groupIds, [Group::MEMBER_ID], $this->groups->pluck('id')->all());
} }
// Deprecated, remove in beta 14. /** @deprecated in beta 14, remove in beta 15 */
event(new PrepareUserGroups($this, $groupIds)); event(new PrepareUserGroups($this, $groupIds));
foreach (static::$groupProcessors as $processor) { foreach (static::$groupProcessors as $processor) {