remove debugging calls

This commit is contained in:
Evan Prodromou 2010-03-25 16:35:22 -04:00
parent 697222575d
commit 7f6fdb528c
3 changed files with 3 additions and 9 deletions

View File

@ -48,7 +48,6 @@ class FinishopenidloginAction extends Action
} else if ($this->arg('connect')) { } else if ($this->arg('connect')) {
$this->connectUser(); $this->connectUser();
} else { } else {
common_debug(print_r($this->args, true), __FILE__);
$this->showForm(_m('Something weird happened.'), $this->showForm(_m('Something weird happened.'),
$this->trimmed('newname')); $this->trimmed('newname'));
} }

View File

@ -94,7 +94,6 @@ function oid_link_user($id, $canonical, $display)
if (!$oid->insert()) { if (!$oid->insert()) {
$err = PEAR::getStaticProperty('DB_DataObject','lastError'); $err = PEAR::getStaticProperty('DB_DataObject','lastError');
common_debug('DB error ' . $err->code . ': ' . $err->message, __FILE__);
return false; return false;
} }
@ -119,13 +118,10 @@ function oid_check_immediate($openid_url, $backto=null)
unset($args['action']); unset($args['action']);
$backto = common_local_url($action, $args); $backto = common_local_url($action, $args);
} }
common_debug('going back to "' . $backto . '"', __FILE__);
common_ensure_session(); common_ensure_session();
$_SESSION['openid_immediate_backto'] = $backto; $_SESSION['openid_immediate_backto'] = $backto;
common_debug('passed-in variable is "' . $backto . '"', __FILE__);
common_debug('session variable is "' . $_SESSION['openid_immediate_backto'] . '"', __FILE__);
oid_authenticate($openid_url, oid_authenticate($openid_url,
'finishimmediate', 'finishimmediate',

View File

@ -96,7 +96,6 @@ class OpenidtrustAction extends Action
$user_openid_trustroot->created = DB_DataObject_Cast::dateTime(); $user_openid_trustroot->created = DB_DataObject_Cast::dateTime();
if (!$user_openid_trustroot->insert()) { if (!$user_openid_trustroot->insert()) {
$err = PEAR::getStaticProperty('DB_DataObject','lastError'); $err = PEAR::getStaticProperty('DB_DataObject','lastError');
common_debug('DB error ' . $err->code . ': ' . $err->message, __FILE__);
} }
common_redirect($this->allowUrl, $code=302); common_redirect($this->allowUrl, $code=302);
}else{ }else{