summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-07 17:50:26 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-07 17:50:26 +0200
commit58f36fc058e6f566ecffc395f09419f34ece50a9 (patch)
tree65bdc68d6110fc371446c99685dabb18156a1f0d /pyLoadCore.py
parentUploadedTo account plugin (diff)
downloadpyload-58f36fc058e6f566ecffc395f09419f34ece50a9.tar.xz
new server method for premium accounts
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 394dfcf32..259f8fbe0 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -760,6 +760,13 @@ class ServerMethods():
data.append(p)
return data
+ def get_premium_accounts(self):
+ plugins = self.core.pluginManager.getAccountPlugins()
+ data = []
+ for p in plugins:
+ data.extend(p.getAllAccounts())
+ return data
+
#def move_urls_up(self, ids):
# for id in ids:
# self.core.file_list.move(id)