From: Zach Copley Date: Wed, 11 May 2011 21:33:22 +0000 (-0700) Subject: Change whitelist invite form's add new item control to be consistent with similar... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=04a593487a3b7a44f213cc92b783b3c22c23c579;p=quix0rs-gnu-social.git Change whitelist invite form's add new item control to be consistent with similar controls elsewhere --- diff --git a/plugins/DomainWhitelist/lib/whitelistinviteform.php b/plugins/DomainWhitelist/lib/whitelistinviteform.php index 72029bc3e8..4928b88199 100644 --- a/plugins/DomainWhitelist/lib/whitelistinviteform.php +++ b/plugins/DomainWhitelist/lib/whitelistinviteform.php @@ -141,7 +141,7 @@ class WhitelistInviteForm extends Form 'a', array( 'class' => 'remove_row', - 'href' => 'javascript://', + 'href' => 'javascript://', ), '-' ); @@ -150,21 +150,12 @@ class WhitelistInviteForm extends Form 'a', array( 'class' => 'add_row', - 'href' => 'javascript://', + 'href' => 'javascript://', ), - '+' + _m('Add another item') ); } - - function getUsersDomain() - { - $user = common_current_user(); - - assert(!empty($user)); - - } - /** * Action elements *