diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-07 17:50:26 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-07 17:50:26 +0200 |
commit | 58f36fc058e6f566ecffc395f09419f34ece50a9 (patch) | |
tree | 65bdc68d6110fc371446c99685dabb18156a1f0d /pyLoadCore.py | |
parent | UploadedTo account plugin (diff) | |
download | pyload-58f36fc058e6f566ecffc395f09419f34ece50a9.tar.xz |
new server method for premium accounts
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 7 |
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) |