forked from mirror/pixelfed
Update User model
This commit is contained in:
parent
b13392f683
commit
86b41dbb32
1 changed files with 5 additions and 0 deletions
|
@ -78,4 +78,9 @@ class User extends Authenticatable
|
||||||
return $this->hasMany(UserDevice::class);
|
return $this->hasMany(UserDevice::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function storageUsedKey()
|
||||||
|
{
|
||||||
|
return 'profile:storage:used:' . $this->id;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue