X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMaintenance.php;h=04565f24506801a83c0a7aa3daec3bd557e9d64c;hb=fdf8c2e17145a6f704ab2e7ef066e044fc4993e2;hp=478a0c41ae88d638198441e6ecb18c6eb2898ebc;hpb=8ca0afde953e905762d549c0b289f7954262e535;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 478a0c41ae..04565f2450 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -344,7 +344,7 @@ abstract class Maintenance { * @return mixed */ protected function getStdin( $len = null ) { - if ( $len == Maintenance::STDIN_ALL ) { + if ( $len == self::STDIN_ALL ) { return file_get_contents( 'php://stdin' ); } $f = fopen( 'php://stdin', 'rt' ); @@ -457,7 +457,7 @@ abstract class Maintenance { * @return int */ public function getDbType() { - return Maintenance::DB_STD; + return self::DB_STD; } /**