confirmation for sms

darcs-hash:20080720193712-84dde-1b862531df5250752cd7046a2588fe39b24ece45.gz
This commit is contained in:
Evan Prodromou 2008-07-20 15:37:12 -04:00
parent 3642967315
commit b6756fc8d1

View File

@ -103,7 +103,7 @@ class SmssettingsAction extends EmailsettingsAction {
$user = common_current_user(); $user = common_current_user();
$confirm = new Confirm_address(); $confirm = new Confirm_address();
$confirm->user_id = $user->id; $confirm->user_id = $user->id;
$confirm->address_type = 'email'; $confirm->address_type = 'sms';
if ($confirm->find(TRUE)) { if ($confirm->find(TRUE)) {
return $confirm; return $confirm;
} else { } else {