summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/buddylistinvite/buddylistinvite.info2
-rw-r--r--contrib/buddylistinvite/buddylistinvite.module11
2 files changed, 1 insertions, 12 deletions
diff --git a/contrib/buddylistinvite/buddylistinvite.info b/contrib/buddylistinvite/buddylistinvite.info
index 38c458f..b289ccd 100644
--- a/contrib/buddylistinvite/buddylistinvite.info
+++ b/contrib/buddylistinvite/buddylistinvite.info
@@ -2,4 +2,4 @@
name = Buddylist Invite
description = Integrates the buddylist and invite modules.
package = Social networking
-dependencies = buddylist
+dependencies = buddylist, invite
diff --git a/contrib/buddylistinvite/buddylistinvite.module b/contrib/buddylistinvite/buddylistinvite.module
index 908e8e3..5ae5bb0 100644
--- a/contrib/buddylistinvite/buddylistinvite.module
+++ b/contrib/buddylistinvite/buddylistinvite.module
@@ -22,17 +22,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
*/