1<?php
2
3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
4// See the LICENCE file in the repository root for full licence text.
5
6namespace App\Traits;
7
8trait NotificationQueue
9{
10 public function dispatch()
11 {
12 return dispatch($this->onQueue($GLOBALS['cfg']['osu']['notification']['queue_name']));
13 }
14}