From 6c0f11da673ea66628bc4f0d55dba20ea6e465f7 Mon Sep 17 00:00:00 2001 From: fredj Date: Mon, 17 Oct 2011 15:00:16 +0200 Subject: [PATCH] remove unneeded activate and deactivate functions --- lib/OpenLayers/Control/WMSGetFeatureInfo.js | 29 --------------------- 1 file changed, 29 deletions(-) diff --git a/lib/OpenLayers/Control/WMSGetFeatureInfo.js b/lib/OpenLayers/Control/WMSGetFeatureInfo.js index 82c37d6e69..2093575d97 100644 --- a/lib/OpenLayers/Control/WMSGetFeatureInfo.js +++ b/lib/OpenLayers/Control/WMSGetFeatureInfo.js @@ -210,35 +210,6 @@ OpenLayers.Control.WMSGetFeatureInfo = OpenLayers.Class(OpenLayers.Control, { } }, - /** - * Method: activate - * Activates the control. - * - * Returns: - * {Boolean} The control was effectively activated. - */ - activate: function () { - if (!this.active) { - this.handler.activate(); - } - return OpenLayers.Control.prototype.activate.apply( - this, arguments - ); - }, - - /** - * Method: deactivate - * Deactivates the control. - * - * Returns: - * {Boolean} The control was effectively deactivated. - */ - deactivate: function () { - return OpenLayers.Control.prototype.deactivate.apply( - this, arguments - ); - }, - /** * Method: getInfoForClick * Called on click