Fixes for DatabaseMysql::open()
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 1 Sep 2012 15:13:35 +0000 (17:13 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 1 Sep 2012 15:13:35 +0000 (17:13 +0200)
commit72a72e26dc21bdd082b6ec145afff3487c8a17a5
tree53729135e33ffd2ed326e585bdf6d49a60dba877
parentfae05504fedd31eee393b5c2263521874c9383a8
Fixes for DatabaseMysql::open()

- Group global declarations at the top
- Early abort on error, instead of going through
  the whole code
- Group double call to wfDebug()
- Whitespaces fixes

Change-Id: I9e28395a2698216e14458d1a74ef0a89e7ee48d6
includes/db/DatabaseMysql.php