From: Rotem Liss Date: Sun, 23 Jul 2006 11:57:54 +0000 (+0000) Subject: Removing an unused function (was used in SpecialGroups.php). X-Git-Tag: 1.31.0-rc.0~56153 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=53f5677da1933dc62e39cb620eb9327eb7138912;p=lhc%2Fweb%2Fwiklou.git Removing an unused function (was used in SpecialGroups.php). --- diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index c3d74b20a9..2f0d995cdb 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -109,10 +109,11 @@ class HTMLForm { } } // end class - -// functions used by SpecialUserrights.php - /** Build a select with all defined groups + * + * used by SpecialUserrights.php + * @todo move it to there, and don't forget to copy it for SpecialMakesysop.php + * * @param $selectname String: name of this element. Name of form is automaticly prefixed. * @param $selectmsg String: FIXME * @param $selected Array: array of element selected when posted. Only multiples will show them. @@ -154,24 +155,4 @@ function HTMLSelectGroups($selectname, $selectmsg, $selected=array(), $multiple= return $out; } -/** Build a select with all existent rights - * @param $selected Array: Names(?) of user rights that should be selected. - * @return string HTML select. - */ -function HTMLSelectRights($selected='') { - global $wgAvailableRights; - $out = '\n"; - return $out; -} ?>