Permalink
Browse files

MINOR Removed traces of "firstname" and "surname" from installer (the…

…se were removed in config-form in r101314) (from r101315)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112217 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 1af78e9 commit 0cd20830fdea4b19743a78ca4cb2314d7a15ccb5 sminnee committed Oct 13, 2010
Showing with 0 additions and 6 deletions.
  1. +0 −6 install.php
View
@@ -115,8 +115,6 @@
$_REQUEST['admin'] = $adminConfig = array(
'username' => defined('SS_DEFAULT_ADMIN_USERNAME') ? SS_DEFAULT_ADMIN_USERNAME : 'admin',
'password' => defined('SS_DEFAULT_ADMIN_PASSWORD') ? SS_DEFAULT_ADMIN_PASSWORD : '',
- 'firstname' => $_REQUEST['admin']['firstname'],
- 'surname' => $_REQUEST['admin']['surname']
);
} else {
$adminConfig = $_REQUEST['admin'];
@@ -125,8 +123,6 @@
$_REQUEST['admin'] = $adminConfig = array(
'username' => defined('SS_DEFAULT_ADMIN_USERNAME') ? SS_DEFAULT_ADMIN_USERNAME : 'admin',
'password' => defined('SS_DEFAULT_ADMIN_PASSWORD') ? SS_DEFAULT_ADMIN_PASSWORD : '',
- 'firstname' => '',
- 'surname' => ''
);
}
@@ -948,8 +944,6 @@ function install($config) {
$adminMember->Email = $config['admin']['username'];
$adminMember->Password = $config['admin']['password'];
$adminMember->PasswordEncryption = Security::get_password_encryption_algorithm();
- $adminMember->FirstName = $config['admin']['firstname'];
- $adminMember->Surname = $config['admin']['surname'];
// @todo Exception thrown if database with admin already exists with same Email
try {

0 comments on commit 0cd2083

Please sign in to comment.