MCPcopy Index your code
hub / github.com/pyload/pyload / removeAccount

Method removeAccount

module/plugins/AccountManager.py:160–167  ·  view source on GitHub ↗

remove account

(self, plugin, user)

Source from the content-addressed store, hash-verified

158
159 @lock
160 def removeAccount(self, plugin, user):
161 """remove account"""
162
163 if plugin in self.accounts:
164 p = self.getAccountPlugin(plugin)
165 p.removeAccount(user)
166
167 self.saveAccounts()
168
169 @lock
170 def getAccountInfos(self, force=True, refresh=False):

Callers

nothing calls this directly

Calls 2

getAccountPluginMethod · 0.95
saveAccountsMethod · 0.95

Tested by

no test coverage detected