From 04a593487a3b7a44f213cc92b783b3c22c23c579 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 11 May 2011 14:33:22 -0700 Subject: [PATCH] Change whitelist invite form's add new item control to be consistent with similar controls elsewhere --- .../DomainWhitelist/lib/whitelistinviteform.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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 *