Author: damoxc

Revision: 5740

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

Diff:
Modified: trunk/deluge/plugins/pluginbase.py
===================================================================
--- trunk/deluge/plugins/pluginbase.py  2009-09-14 10:19:15 UTC (rev 5739)
+++ trunk/deluge/plugins/pluginbase.py  2009-09-14 10:26:29 UTC (rev 5740)
@@ -69,3 +69,9 @@
         # Register JSON rpc methods
         component.get("JSON").register_object(self, plugin_name.lower())
         log.debug("WebPlugin initialized..")
+    
+    def enable(self):
+        pass
+
+    def disable(self):
+        pass



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to