mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
re-added "Preferences" link to Admin >> Edit user
This commit is contained in:
parent
63ce8bb09e
commit
2bec937130
@ -467,4 +467,18 @@ class preferences_hooks
|
||||
$GLOBALS['egw']->preferences->delete_group($account_id);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Preferences link to Admin >> Edit user
|
||||
*/
|
||||
public static function edit_user()
|
||||
{
|
||||
global $menuData;
|
||||
|
||||
$menuData[] = array(
|
||||
'description' => 'Preferences',
|
||||
'url' => '/index.php',
|
||||
'extradata' => 'menuaction=preferences.preferences_settings.index'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ $setup_info['preferences']['hooks']['deleteaccount'] = 'preferences_hooks::delet
|
||||
$setup_info['preferences']['hooks']['deletegroup'] = 'preferences_hooks::deleteaccount';
|
||||
$setup_info['preferences']['hooks']['preferences'] = 'preferences_hooks::preferences';
|
||||
$setup_info['preferences']['hooks']['settings'] = 'preferences_hooks::settings';
|
||||
$setup_info['preferences']['hooks']['edit_user'] = 'preferences.uisettings.edit_user';
|
||||
$setup_info['preferences']['hooks']['edit_user'] = 'preferences_hooks::edit_user';
|
||||
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['preferences']['depends'][] = array(
|
||||
|
Loading…
Reference in New Issue
Block a user