summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-03 14:49:16 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-03 14:49:16 +0200
commit3ef26c71cb3c23a876b95af77f6541c06227a937 (patch)
tree481462718d3c99410cad9dd4e8ffab7eed8e1f6f /module/plugins/Plugin.py
parentshare-online premium fix (revert to old design, coz new one is still buggy) (diff)
downloadpyload-3ef26c71cb3c23a876b95af77f6541c06227a937.tar.xz
acc fixes, closed #134, closed #141
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index af164c3a5..e34543100 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -343,3 +343,9 @@ class Plugin(object):
if delete:
remove(self.lastDownload)
return name
+
+ def resetAccount(self):
+ """ invalidates an account, so it will not be used """
+ if self.account:
+ data = self.account.getAccountData(self.user)
+ data["valid"] = False