MDL-31832 CLI upgrade will return 0 exit status if no upgrade is needed
commitdaf714ef1210e664d56d140913eb5592512ad6d1
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 7 Mar 2012 09:58:56 +0000 (7 10:58 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 7 Mar 2012 09:58:56 +0000 (7 10:58 +0100)
tree64f0cd3bb7d991c3d24f8339a0ac2bbd02087303
parent91c038f932e2509d1331b2ad2acb23ce2662d80d
MDL-31832 CLI upgrade will return 0 exit status if no upgrade is needed

Discussed with David, both points were valid but finally
we agreed about to consider the "no upgrade needed" exit
a normal/succesful one, mainly because it keeps previous
behavior the same (exit non-zero only for real errors).
admin/cli/upgrade.php