re-added "Preferences" link to Admin >> Edit user

This commit is contained in:
Ralf Becker 2013-05-11 08:51:06 +00:00
parent 63ce8bb09e
commit 2bec937130
2 changed files with 15 additions and 1 deletions

View File

@ -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'
);
}
}

View File

@ -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(