small debugging and messaging fixes
darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz
This commit is contained in:
parent
3a0c988cb3
commit
7ce5ed8081
|
@ -69,9 +69,10 @@ class FinishaddopenidAction extends Action {
|
|||
$this->message(_t('This OpenID is already associated with user "') . $other->nickname . _t('"'));
|
||||
} else {
|
||||
$cur =& common_current_user();
|
||||
common_debug('cur = ' .print_r($cur, TRUE), __FILE__);
|
||||
$result = oid_link_user($cur->id, $display, $canonical);
|
||||
if (!$result) {
|
||||
$this->message(_t('Error connecting user'));
|
||||
$this->message(_t('Error connecting user.'));
|
||||
return;
|
||||
}
|
||||
if ($sreg) {
|
||||
|
|
|
@ -65,7 +65,7 @@ class OpenidsettingsAction extends SettingsAction {
|
|||
|
||||
common_element('h2', NULL, _t('OpenID'));
|
||||
common_element('p', NULL,
|
||||
_t('You can remove an OpenID from your account ',
|
||||
_t('You can remove an OpenID from your account '.
|
||||
'by clicking the button marked "Delete" next to it.'));
|
||||
$idx = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user