From 264fa0056e2e62ee797074a8838439584cabc034 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 14 May 2005 09:25:41 +0000 Subject: [PATCH] typos --- includes/SpecialUserrights.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialUserrights.php b/includes/SpecialUserrights.php index 43d0b269f6..6903deb36e 100644 --- a/includes/SpecialUserrights.php +++ b/includes/SpecialUserrights.php @@ -62,7 +62,7 @@ class UserrightsForm extends HTMLForm { /** * Save user groups changes in the database. - * Datas comes from the editUserGroupsForm() form function + * Data comes from the editUserGroupsForm() form function * * @param string $username Username to apply changes to. * @param array $removegroup id of groups to be removed. @@ -70,7 +70,7 @@ class UserrightsForm extends HTMLForm { * */ function saveUserGroups($username,$removegroup,$addgroup) { - $u = User::NewFromName($username); + $u = User::newFromName($username); if(is_null($u)) { $wgOut->addHTML('

'.wfMsg('nosuchusershort',$username).'

'); -- 2.20.1