From d8f818498610d615c12f798720383f5454a5e3fd Mon Sep 17 00:00:00 2001 From: Geoff Munn Date: Mon, 30 Mar 2009 03:04:37 +0000 Subject: [PATCH] API CHANGE: autologinhash index removed due to conflicts with nulls in MSSQL git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73816 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Member.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/security/Member.php b/security/Member.php index 05b54599a..4ba1f8ecf 100644 --- a/security/Member.php +++ b/security/Member.php @@ -40,8 +40,7 @@ class Member extends DataObject { static $indexes = array( 'Email' => true, - //'AutoLoginHash' => 'unique (AutoLoginHash)' - 'AutoLoginHash' => Array('type'=>'unique', 'value'=>'AutoLoginHash') + //'AutoLoginHash' => Array('type'=>'unique', 'value'=>'AutoLoginHash', 'ignoreNulls'=>true) //Removed due to duplicate null values causing MSSQL problems ); static $notify_password_change = false;