X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fbackup.inc;h=64078b49e605dd29810195af3cae31b93025563e;hb=7c18a81bcc0174efa6859a9ade61aabc56435151;hp=db045cf2d6f70c1de299c42d983dce5fcfa10331;hpb=9e0e8abd7eac4c16b22a0ff7c8381f0f7ecccf64;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/backup.inc b/maintenance/backup.inc index db045cf2d6..64078b49e6 100644 --- a/maintenance/backup.inc +++ b/maintenance/backup.inc @@ -170,11 +170,8 @@ class BackupDumper { break; case "force-normal": if ( !function_exists( 'utf8_normalize' ) ) { - wfDl( "php_utfnormal.so" ); - if ( !function_exists( 'utf8_normalize' ) ) { - $this->fatalError( "Failed to load UTF-8 normalization extension. " . - "Install or remove --force-normal parameter to use slower code." ); - } + $this->fatalError( "UTF-8 normalization extension not loaded. " . + "Install or remove --force-normal parameter to use slower code." ); } break; default: @@ -279,7 +276,7 @@ class BackupDumper { } $this->lb = wfGetLBFactory()->newMainLB(); - $db = $this->lb->getConnection( DB_SLAVE, 'backup' ); + $db = $this->lb->getConnection( DB_SLAVE, 'dump' ); // Discourage the server from disconnecting us if it takes a long time // to read out the big ol' batch query.