Permalink
Browse files

minor changes

  • Loading branch information...
1 parent 2665c54 commit c49f892b0758c2691af507b31c0f0dd18ed9d6af @heartdriven heartdriven committed Nov 1, 2011
Showing with 8 additions and 8 deletions.
  1. +7 −0 cucumber_helper.install
  2. +1 −8 cucumber_helper.module
@@ -1,4 +1,8 @@
<?php
+
+/**
+ * implementation of hook_enable()
+ */
function cucumber_helper_enable(){
$roles = user_roles(TRUE);
$names = array();
@@ -28,6 +32,9 @@ function cucumber_helper_enable(){
drupal_set_message('Added ' . count($roles) . ' new accounts for testing.');
}
+/**
+ * implementation of hook_disable()
+ */
function cucumber_helper_disable(){
$names = variable_get('cucumber_helper_names',array());
$i = 0;
@@ -1,9 +1,2 @@
<?php
-
-/**
- * implementation of hook_init()
- */
-function cucumber_helper_init(){
- drupal_add_js(drupal_get_path('module', 'cucumber_helper') . '/js/cucumber_helper.js');
-
-}
+// drupal requires this empty module file

0 comments on commit c49f892

Please sign in to comment.