From: Reedy Date: Tue, 21 Aug 2018 18:09:24 +0000 (+0100) Subject: ChangeTag::createTagWithChecks calls ChangeTag::canCreateTag() X-Git-Tag: 1.34.0-rc.0~4348^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=abe264e9b8b360e8bc500f700f4a2ac075438b67 ChangeTag::createTagWithChecks calls ChangeTag::canCreateTag() It doesn't call ChangeTag::canDeleteTag() Change-Id: Ib53c1b8e5f12aeaaff2eb3a704af6d29560b2ab6 --- diff --git a/includes/changetags/ChangeTags.php b/includes/changetags/ChangeTags.php index 9a015f4503..dd29c100e8 100644 --- a/includes/changetags/ChangeTags.php +++ b/includes/changetags/ChangeTags.php @@ -1183,7 +1183,7 @@ class ChangeTags { * Extensions should NOT use this function; they can use the ListDefinedTags * hook instead. * - * Includes a call to ChangeTag::canDeleteTag(), so your code doesn't need to + * Includes a call to ChangeTag::canCreateTag(), so your code doesn't need to * do that. * * @param string $tag