? singlesignon.info
Index: singlesignon.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/singlesignon/singlesignon.module,v
retrieving revision 1.17
diff -u -r1.17 singlesignon.module
--- singlesignon.module	14 Jul 2006 12:29:15 -0000	1.17
+++ singlesignon.module	1 Dec 2006 17:59:07 -0000
@@ -271,19 +271,6 @@
 
 
 /**
- * Implementation of hook_help().
- *
- * Displays help information when requested by the module system.
- */
-function singlesignon_help($section = 'admin/modules#description') {
-  switch ($section) {
-    case 'admin/help#singlesignon':
-    case 'admin/modules#description':
-      return t('Enables "Single Sign-Ons" between related Drupal sites on one server with a shared databse.');
-  }
-}
-
-/**
  * Implementation of hook_perm().
  *
  * Defines permission names for this module.
@@ -300,7 +287,8 @@
     array(
       'path' => 'admin/settings/singlesignon',
       'title' => t('singlesignon'),
-      'callback' => 'singlesignon_admin_settings',
+      'callback' => 'drupal_get_form',
+      'callback arguments' => 'singlesignon_admin_settings',
       'access' => user_access('access administration pages'),
       'type' => MENU_NORMAL_ITEM,
     ),
@@ -316,19 +304,18 @@
   if (!user_access('access administration pages')) {
     return drupal_access_denied();
   }
-
-  $form = array(
-    'singlesignon_master_url' => array(
+  $form = array();
+  $form['singlesignon_master_url'] = array(
       '#type' => 'textfield',
       '#title' => t('Master URL'),
       '#default_value' => variable_get('singlesignon_master_url', ''),
       '#description' => t('Enter the URL of your master Single Sign-On server, in the form of <b>http://www.example.com</b>. Leave the trailing slash off. Do NOT include any path information.'),
       '#maxlength' => '300',
       '#size' => '80',
-    ),
   );
 
-  return system_settings_form('singlesignon_admin_settings', $form);
+  return system_settings_form($form);
+  
 }
 
 // }}}
