Albert221 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/403570 )

Change subject: Fix typo in private method's name in hooks
......................................................................

Fix typo in private method's name in hooks

Change-Id: I2d67e8f16e01076612c127567f6f78e4dda2c704
---
M EducationProgram.hooks.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EducationProgram 
refs/changes/70/403570/1

diff --git a/EducationProgram.hooks.php b/EducationProgram.hooks.php
index 0d5acb4..30ad6cd 100644
--- a/EducationProgram.hooks.php
+++ b/EducationProgram.hooks.php
@@ -366,7 +366,7 @@
         * @param bool|null &$isKnown
         */
        public static function onTitleIsAlwaysKnown( Title $title, &$isKnown ) {
-               self::doesOrgOrCourseExists( $title, $isKnown );
+               self::doesOrgOrCourseExist( $title, $isKnown );
        }
 
        public static function onMovePageIsValidMove(
@@ -707,7 +707,7 @@
         * @param bool &$exists
         */
        public static function onTitleExists( Title $title, &$exists ) {
-               self::doesOrgOrCourseExists( $title, $exists );
+               self::doesOrgOrCourseExist( $title, $exists );
        }
 
        /**
@@ -717,7 +717,7 @@
         * @param Title $title
         * @param boolean $exists
         */
-       private static function doesOrgOrCourseExists( Title $title, &$exists ) 
{
+       private static function doesOrgOrCourseExist( Title $title, &$exists ) {
                if ( $title->getNamespace() == EP_NS ) {
                        if ( Utils::isCourse( $title ) ) {
                                $class = Courses::class;

-- 
To view, visit https://gerrit.wikimedia.org/r/403570
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d67e8f16e01076612c127567f6f78e4dda2c704
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EducationProgram
Gerrit-Branch: master
Gerrit-Owner: Albert221 <w.albert...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to