dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix issues identified by SpaceBeforeSingleLineComment sniff
[lhc/web/wiklou.git]
/
maintenance
/
cdb.php
diff --git
a/maintenance/cdb.php
b/maintenance/cdb.php
index
4590611
..
2e252ad
100644
(file)
--- a/
maintenance/cdb.php
+++ b/
maintenance/cdb.php
@@
-21,6
+21,8
@@
* @todo document
* @ingroup Maintenance
*/
* @todo document
* @ingroup Maintenance
*/
+use \Cdb\Exception as CdbException;
+use \Cdb\Reader as CdbReader;
/** */
require_once __DIR__ . '/commandLine.inc';
/** */
require_once __DIR__ . '/commandLine.inc';
@@
-77,7
+79,8
@@
do {
print "Loading cdb file $file...";
try {
$fileHandle = CdbReader::open( $file );
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";
if ( !$fileHandle ) {
print "not a cdb file or unable to read it\n";