X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fcdb.php;h=2e252adb037b3303266706d052ea00d024b11d94;hb=415b31766677e190c13322742b4e42da1157538c;hp=459061189675a52327370f5f03e7622fa83df4fb;hpb=5de26bec5939c28849245e721252243b4c250c57;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";