MDL-38173 Swap conditions to make CI servers happy.
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 6 Mar 2013 17:53:15 +0000 (18:53 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 6 Mar 2013 17:53:15 +0000 (18:53 +0100)
commit71db4e58d767e79bc77e5d01905e445126d25a12
tree610631a202844436dbea7f9b3457ebf8320cd2fd
parent5379574a7d65a22cfdf9bb51d5f55a376d07434a
MDL-38173 Swap conditions to make CI servers happy.

The alternatives were:

1) wrap the whole block within a "standard" upgrade step, indenting
   everything one more level.
2) Change (relax) the savepoints checker in the CI servers, not
   good in general.

So at the end, swapping conditions seemed to be the easier
and better alternative. After all, "&&" is commutative, lol.
lib/db/upgrade.php