From 58f36fc058e6f566ecffc395f09419f34ece50a9 Mon Sep 17 00:00:00 2001 From: mkaay Date: Fri, 7 May 2010 17:50:26 +0200 Subject: new server method for premium accounts --- pyLoadCore.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pyLoadCore.py') 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) -- cgit v1.2.3