1
0
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:
Adolfo Gómez García 2023-05-02 16:05:34 +02:00
parent 1e85965d10
commit 1c0bdf189e
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -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
"""