summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/DeleteFinished.py6
-rw-r--r--module/plugins/hooks/RestartFailed.py4
-rw-r--r--module/plugins/hooks/UpdateManager.py4
3 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hooks/DeleteFinished.py b/module/plugins/hooks/DeleteFinished.py
index b68e68679..5d2b78d50 100644
--- a/module/plugins/hooks/DeleteFinished.py
+++ b/module/plugins/hooks/DeleteFinished.py
@@ -7,7 +7,7 @@ from module.plugins.Hook import Hook
class DeleteFinished(Hook):
__name__ = "DeleteFinished"
__type__ = "hook"
- __version__ = "1.10"
+ __version__ = "1.11"
__config__ = [('activated', 'bool', 'Activated', 'False'),
('interval', 'int', 'Delete every (hours)', '72'),
@@ -18,7 +18,7 @@ class DeleteFinished(Hook):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- event_list = ["pluginConfigChanged"]
+ # event_list = ["pluginConfigChanged"]
## overwritten methods ##
@@ -46,7 +46,7 @@ class DeleteFinished(Hook):
def coreReady(self):
self.info = {'sleep': True}
interval = self.getConfig('interval')
- self.pluginConfigChanged('DeleteFinished', 'interval', interval)
+ self.pluginConfigChanged(self.__name__, 'interval', interval)
self.addEvent('packageFinished', self.wakeup)
diff --git a/module/plugins/hooks/RestartFailed.py b/module/plugins/hooks/RestartFailed.py
index 81a83e2c9..b866c9d0a 100644
--- a/module/plugins/hooks/RestartFailed.py
+++ b/module/plugins/hooks/RestartFailed.py
@@ -6,7 +6,7 @@ from module.plugins.Hook import Hook
class RestartFailed(Hook):
__name__ = "RestartFailed"
__type__ = "hook"
- __version__ = "1.55"
+ __version__ = "1.56"
__config__ = [("interval", "int", "Check interval in minutes", 90)]
@@ -15,7 +15,7 @@ class RestartFailed(Hook):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- event_list = ["pluginConfigChanged"]
+ # event_list = ["pluginConfigChanged"]
MIN_INTERVAL = 15 * 60 #: 15m minimum check interval (value is in seconds)
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index e55c0e104..5fe1b0e5f 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -14,7 +14,7 @@ from module.utils import save_join
class UpdateManager(Hook):
__name__ = "UpdateManager"
__type__ = "hook"
- __version__ = "0.36"
+ __version__ = "0.37"
__config__ = [("activated", "bool", "Activated", True),
("mode", "pyLoad + plugins;plugins only", "Check updates for", "pyLoad + plugins"),
@@ -27,7 +27,7 @@ class UpdateManager(Hook):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- event_list = ["pluginConfigChanged"]
+ # event_list = ["pluginConfigChanged"]
SERVER_URL = "http://updatemanager.pyload.org"
MIN_INTERVAL = 6 * 60 * 60 #: 6h minimum check interval (value is in seconds)