From cc9a75d77e3515d1248cfad4f8c9791594599aa9 Mon Sep 17 00:00:00 2001 From: Robert Leverington Date: Sun, 11 May 2008 17:21:10 +0000 Subject: [PATCH] Remove paramter that only appears to illustrate the fact more parameters can be added and causes an E_STRICT level error. --- includes/filerepo/FileRepoStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/FileRepoStatus.php b/includes/filerepo/FileRepoStatus.php index 7e473dbfb5..e3ade97979 100644 --- a/includes/filerepo/FileRepoStatus.php +++ b/includes/filerepo/FileRepoStatus.php @@ -7,7 +7,7 @@ class FileRepoStatus extends Status { /** * Factory function for fatal errors */ - static function newFatal( $repo, $message /*, parameters...*/ ) { + static function newFatal( $repo /*, parameters...*/ ) { $params = array_slice( func_get_args(), 1 ); $result = new self( $repo ); call_user_func_array( array( &$result, 'error' ), $params ); -- 2.20.1