Permalink
Browse files

Improved the theming of connector buttons

  • Loading branch information...
1 parent 555f5a7 commit ba6ef03fb48c0d36f8651559a78406b402cfd7c8 @voxpelli committed Jun 29, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −4 oauthconnector.module
@@ -339,10 +339,7 @@ function _oauthconnector_avatar($connector, $cid, $uid) {
}
function _oauthconnector_button($connector) {
- return array(
- 'title' => drupal_get_form('oauthconnector_' . $connector['oauthconnector provider']->name . '_button_form', $connector['oauthconnector provider']),
- 'html' => TRUE,
- );
+ return drupal_get_form('oauthconnector_' . $connector['oauthconnector provider']->name . '_button_form', $connector['oauthconnector provider']);
}
function oauthconnector_button_form(&$form_state, $provider) {

0 comments on commit ba6ef03

Please sign in to comment.