mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 05:56:31 +03:00
add after_shutdown hook
This commit is contained in:
@@ -31,6 +31,10 @@ class PerAccount:
|
||||
def log_line(self, message):
|
||||
""" log a message related to the account. """
|
||||
|
||||
@account_hookspec
|
||||
def after_shutdown(self):
|
||||
""" Called when the account has been shutdown. """
|
||||
|
||||
@account_hookspec
|
||||
def configure_completed(self, success):
|
||||
""" Called when a configure process completed. """
|
||||
|
||||
Reference in New Issue
Block a user