X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fcdb.php;h=2e252adb037b3303266706d052ea00d024b11d94;hb=c54766586acab549f186e81eeab259845112809d;hp=459061189675a52327370f5f03e7622fa83df4fb;hpb=a5b5f90fb956605601bd14aed695c8c962b0d064;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cdb.php b/maintenance/cdb.php index 4590611896..2e252adb03 100644 --- a/maintenance/cdb.php +++ b/maintenance/cdb.php @@ -21,6 +21,8 @@ * @todo document * @ingroup Maintenance */ +use \Cdb\Exception as CdbException; +use \Cdb\Reader as CdbReader; /** */ require_once __DIR__ . '/commandLine.inc'; @@ -77,7 +79,8 @@ do { print "Loading cdb file $file..."; try { $fileHandle = CdbReader::open( $file ); - } catch ( CdbException $e ) {} + } catch ( CdbException $e ) { + } if ( !$fileHandle ) { print "not a cdb file or unable to read it\n";