Closed (duplicate)
Project:
Persistent Login
Version:
6.x-1.4-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2008 at 10:16 UTC
Updated:
21 Sep 2008 at 12:19 UTC
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