summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/XFileSharingPro.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 07:18:39 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 07:18:39 +0200
commitc9144f451b74e4d3cc67935b9e73c662ac870c6e (patch)
tree46b0b6668cc6805d5138d9693e47c315817ffa3e /module/plugins/hooks/XFileSharingPro.py
parent[PremiumizeMe] Account version up (diff)
downloadpyload-c9144f451b74e4d3cc67935b9e73c662ac870c6e.tar.xz
Hook plugin code cosmetics (2)
Diffstat (limited to 'module/plugins/hooks/XFileSharingPro.py')
-rw-r--r--module/plugins/hooks/XFileSharingPro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py
index 10ca4fb9b..f13a78d4a 100644
--- a/module/plugins/hooks/XFileSharingPro.py
+++ b/module/plugins/hooks/XFileSharingPro.py
@@ -53,7 +53,7 @@ class XFileSharingPro(Hook):
# self.event_list = ["pluginConfigChanged"]
- def coreReady(self):
+ def activate(self):
self.loadPattern()
@@ -104,7 +104,7 @@ class XFileSharingPro(Hook):
dict['re'] = re.compile(dict['pattern'])
- def unload(self):
+ def deactivate(self):
# self.unloadHoster("BasePlugin")
for type, plugin in (("hoster", "XFileSharingPro"),
("crypter", "XFileSharingProFolder")):