MINOR Added todo for exception handling done with default admin (from r101086)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112215 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2010-10-13 04:26:27 +00:00
parent aba0caf624
commit 55c0e7e915

View File

@ -949,6 +949,8 @@ PHP
$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 {
$adminMember->write();
} catch(Exception $e) {