From abe264e9b8b360e8bc500f700f4a2ac075438b67 Mon Sep 17 00:00:00 2001 From: Reedy Date: Tue, 21 Aug 2018 19:09:24 +0100 Subject: [PATCH] ChangeTag::createTagWithChecks calls ChangeTag::canCreateTag() It doesn't call ChangeTag::canDeleteTag() Change-Id: Ib53c1b8e5f12aeaaff2eb3a704af6d29560b2ab6 --- includes/changetags/ChangeTags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1