Index: devel.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/devel/devel.install,v
retrieving revision 1.8.4.3
diff -u -r1.8.4.3 devel.install
--- devel.install	1 Apr 2007 02:01:36 -0000	1.8.4.3
+++ devel.install	1 Apr 2007 22:28:31 -0000
@@ -110,4 +110,16 @@
 function devel_enable() {
   // Enable the blocks automatically at install.
   _block_rehash();
+}
+
+
+/**
+ * Implementation of hook_disable().
+ */
+function devel_disable() {
+  // Query logging should probably not be set if devel.module is disabled.
+  if (variable_get('dev_query', 0)) {
+    variable_set('dev_query',0)
+    drupal_set_message(t('Disabled query logging since devel module is disabled.'));
+  }
 }
\ No newline at end of file
