There is a parameter change in Drupal 6 for hook_menu.
I guess the code should like this:
function persistent_login_menu() {
$items = array();
$items['persistent_login/erase'] = array(
'callback' => 'persistent_login_erase',
'access callback' => TRUE,
'type' => MENU_CALLBACK);
$items['admin/settings/persistent_login'] = array(
'title' => t('Persistent Login'),
'description' => t('Control Persistent Login session lifetime and restricted pages.'),
'page callback' => 'drupal_get_form',
'page arguments' => array('persistent_login_admin_settings'),
'access arguments' => array('administer Persistent Login'),
'type' => MENU_NORMAL_ITEM);
return $items;
}
Maybe, someone who has access to CVS may add and test this.
Comments
Comment #1
markus_petrux commentedThere is another issue that has a bit more information:
http://drupal.org/node/254506