Made DB commit() method properly bail out if no trx is active
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 25 Jun 2014 17:12:44 +0000 (10:12 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 25 Jun 2014 17:12:44 +0000 (10:12 -0700)
commit1045fdf3121381e91b9d2b3c5a30ea5b2e9c0811
treebe7f0d9b1918f6da04add23175e8904dbb4d7c11
parentb52d47b74d8cf4834ea81b2709788ada0adbd59a
Made DB commit() method properly bail out if no trx is active

* Also flipped conditional to avoid being in the negative

Change-Id: I30bce9a015bea5909322bba93493500b5b418d18
includes/db/Database.php