X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flogging%2FLogPage.php;h=ec97b50c24f488a3f458fe0f8547881f9af9f219;hp=faca5bc8a17d0f06c13015eba92329c6d3fc2fbe;hb=d1cf48a397edbbe9c6a63d6f83861d676f686d07;hpb=de5e6e666945a8708bb3df48ac309e6d0d691e74 diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index faca5bc8a1..ec97b50c24 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -205,7 +205,7 @@ class LogPage { * @return bool */ public static function isLogType( $type ) { - return in_array( $type, LogPage::validTypes() ); + return in_array( $type, self::validTypes() ); } /** @@ -348,7 +348,7 @@ class LogPage { $this->action = $action; $this->target = $target; $this->comment = $comment; - $this->params = LogPage::makeParamBlob( $params ); + $this->params = self::makeParamBlob( $params ); if ( $doer === null ) { global $wgUser;