diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-18 13:34:09 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-18 13:34:09 +0100 |
commit | 80a5bc01bd854ba0ba80dccd7f1ca8f488be9112 (patch) | |
tree | b21f66f21044e95c69dd92ccda0af864a22b5a66 /module/plugins/hooks/UpdateManager.py | |
parent | [UploadingCom] Account fixup (diff) | |
download | pyload-80a5bc01bd854ba0ba80dccd7f1ca8f488be9112.tar.xz |
[UpdateManager] Dispatch Event on plugins update
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index c435d38b2..27d976f17 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -28,7 +28,7 @@ def exists(path): class UpdateManager(Hook): __name__ = "UpdateManager" __type__ = "hook" - __version__ = "0.45" + __version__ = "0.46" __config__ = [("activated" , "bool" , "Activated" , True ), ("mode" , "pyLoad + plugins;plugins only", "Check updates for" , "pyLoad + plugins"), @@ -276,6 +276,8 @@ class UpdateManager(Hook): self.logInfo(_("*** Plugins have been updated, but need a pyLoad restart to be reloaded ***")) self.info['plugins'] = True exitcode = 2 + + self.manager.dispatchEvent("plugin_updated", updated) else: self.logInfo(_("No plugin updates available")) |