- Create the admin account with the default language selected during the setup

SVN:trunk[567]
This commit is contained in:
Denis Flaven
2010-07-05 22:38:22 +00:00
parent f80cbcb93b
commit dda0a8a04e

View File

@@ -140,7 +140,7 @@ class UserRightsMatrix extends UserRightsAddOnAPI
);
// Installation: create the very first user
public function CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage)
public function CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage = 'EN US')
{
// Maybe we should check that no other user with userid == 0 exists
$oUser = new UserRightsMatrixUsers();