X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flogging%2FLogPage.php;h=a085e3e114b2a0a6ed0d1bb1c6957ae933016596;hp=f2b16705c7af13a2d1597de4261a12d66a45b31c;hb=89539f2aa1b158fdcc703ad053e2580cb97a6385;hpb=4d1e70c86917820333e095aa4f85692d20794b32 diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index f2b16705c7..a085e3e114 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -72,8 +72,6 @@ class LogPage { private $target; /** - * Constructor - * * @param string $type One of '', 'block', 'protect', 'rights', 'delete', * 'upload', 'move' * @param bool $rc Whether to update recent changes as well as the logging table @@ -207,7 +205,7 @@ class LogPage { * @return bool */ public static function isLogType( $type ) { - return in_array( $type, LogPage::validTypes() ); + return in_array( $type, self::validTypes() ); } /** @@ -289,7 +287,7 @@ class LogPage { * @param string $type * @param Language|null $lang * @param Title $title - * @param array $params + * @param array &$params * @return string */ protected static function getTitleLink( $type, $lang, $title, &$params ) { @@ -350,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;