mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +00:00
Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop
- New name better reflect the behavior
This commit is contained in:
parent
891f686dcf
commit
fa123bd765
3 changed files with 3 additions and 3 deletions
|
@ -664,7 +664,7 @@ class Notify extends BaseRepository
|
|||
return false;
|
||||
}
|
||||
|
||||
public function NotifyOnDesktop(Entity\Notification $Notification, string $type = null): bool
|
||||
public function shouldShowOnDesktop(Entity\Notification $Notification, string $type = null): bool
|
||||
{
|
||||
if (is_null($type)) {
|
||||
$type = NotificationFactory::getType($Notification);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue