Skip to content
Browse files

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
  • Loading branch information...
1 parent aba0caf commit 55c0e7e915b4959a2cbbc4c13ff6e117d07e59d9 sminnee committed Oct 13, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 install.php
View
2 install.php
@@ -949,6 +949,8 @@ function install($config) {
$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) {

0 comments on commit 55c0e7e

Please sign in to comment.
Something went wrong with that request. Please try again.