LinkRelay & Twitter: Add the optional name= parameter to configuration hook callback.
parent
c97a9febd8
commit
e31048e009
|
@ -89,7 +89,7 @@ class LinkRelay(callbacks.Plugin):
|
|||
"to reload the configuration if you use the Config "
|
||||
"plugin.")
|
||||
|
||||
def _loadFromConfig(self):
|
||||
def _loadFromConfig(self, name=None):
|
||||
self.relays = []
|
||||
for relay in self.registryValue('relays').split(' || '):
|
||||
if relay.endswith('|'):
|
||||
|
|
|
@ -123,7 +123,7 @@ class Twitter(callbacks.Plugin):
|
|||
'to apply changes to the consumer key/secret '
|
||||
'and token key/secret unless you reload it.')
|
||||
|
||||
def _dropApiObjects(self):
|
||||
def _dropApiObjects(self, name=None):
|
||||
self._apis = {}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue