mirror of
https://github.com/flarum/core.git
synced 2025-07-17 23:01:17 +02:00
Missed a spot
This commit is contained in:
@@ -120,7 +120,7 @@ class Notification extends AbstractModel
|
|||||||
*
|
*
|
||||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||||
*/
|
*/
|
||||||
public function sender()
|
public function fromUser()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(User::class, 'from_user_id');
|
return $this->belongsTo(User::class, 'from_user_id');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user