MDL-31832 CLI upgrade will return 0 exit status if no upgrade is needed
commit029923aa9de1bd9f19d5c40b2b0648d614acabe8
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 10:23:33 +0000 (7 11:23 +0100)
treecbea351d714f244fe3bcaccc5610ea3775704888
parent01af07849ea6f2001fe7090cf4428db9db5f15b8
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