forked from GNUsocial/gnu-social
confirmation for sms
darcs-hash:20080720193712-84dde-1b862531df5250752cd7046a2588fe39b24ece45.gz
This commit is contained in:
parent
3642967315
commit
b6756fc8d1
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user