ChangeTag::createTagWithChecks calls ChangeTag::canCreateTag()
authorReedy <reedy@wikimedia.org>
Tue, 21 Aug 2018 18:09:24 +0000 (19:09 +0100)
committerReedy <reedy@wikimedia.org>
Tue, 21 Aug 2018 18:09:24 +0000 (19:09 +0100)
It doesn't call ChangeTag::canDeleteTag()

Change-Id: Ib53c1b8e5f12aeaaff2eb3a704af6d29560b2ab6

includes/changetags/ChangeTags.php

index 9a015f4..dd29c10 100644 (file)
@@ -1183,7 +1183,7 @@ class ChangeTags {
         * Extensions should NOT use this function; they can use the ListDefinedTags
         * hook instead.
         *
         * 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
         * do that.
         *
         * @param string $tag