Commit 020c2317 authored by robertDouglass's avatar robertDouglass

#143988 by webchick. Use info file for dependencies, not hook_formalter

parent 9c8f2d96
......@@ -2,4 +2,4 @@
name = Buddylist Invite
description = Integrates the buddylist and invite modules.
package = Social networking
dependencies = buddylist
dependencies = buddylist, invite
......@@ -21,17 +21,6 @@ function buddylistinvite_help($section) {
}
}
/**
* Implementation of hook_form_alter().
*/
function buddylistinvite_form_alter($form_id, &$form) {
if ($form_id == 'buddylist_admin_settings') {
if (!module_exists('invite')) {
drupal_set_message(t('The buddylistinvite module depends on the invite module. Please <a href="!modules_url">enable</a> the invite module first.', array('!modules_url' => url('admin/build/modules'))), 'error');
}
}
}
/**
* Implementation of hook_invite().
* @see invite.module
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment