change WebPluginBase so it has empty enable/disable methods (web plugins don't need to enable/disable themselves, it's optional)

This commit is contained in:
Damien Churchill 2009-09-14 10:26:29 +00:00
parent e7095195f7
commit 63b02f28d1
1 changed files with 6 additions and 0 deletions

View File

@ -69,3 +69,9 @@ class WebPluginBase(PluginBase):
# Register JSON rpc methods # Register JSON rpc methods
component.get("JSON").register_object(self, plugin_name.lower()) component.get("JSON").register_object(self, plugin_name.lower())
log.debug("WebPlugin initialized..") log.debug("WebPlugin initialized..")
def enable(self):
pass
def disable(self):
pass