mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-10 01:17:59 +03:00
removed registering method from notification manager (finally, will not be used)
This commit is contained in:
parent
1e85965d10
commit
1c0bdf189e
@ -69,15 +69,3 @@ class NotificationsManager(metaclass=singleton.Singleton):
|
||||
with Notification.atomicPersistent():
|
||||
notify = Notification(group=group, identificator=identificator, level=level, message=message)
|
||||
Notification.savePersistent(notify)
|
||||
|
||||
def registerGroup(self, group: str) -> None:
|
||||
"""
|
||||
Registers a new group.
|
||||
This is used to group notifications
|
||||
"""
|
||||
|
||||
def registerIdentificator(self, group: str, identificator: str) -> None:
|
||||
"""
|
||||
Registers a new identificator.
|
||||
This is used to identify notifications
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user