Remove paramter that only appears to illustrate the fact more parameters can be added and causes an E_STRICT level error.

This commit is contained in:
Robert Leverington 2008-05-11 17:21:10 +00:00
parent a07bdfe216
commit cc9a75d77e

View file

@ -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 );