We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 7ce5ed80 authored by Evan Prodromou's avatar Evan Prodromou

small debugging and messaging fixes

parent 3a0c988c
......@@ -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.'));
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment