MDL-42882 upgrade: Improvements to upgrade code
authorDan Poltawski <dan@moodle.com>
Wed, 5 Feb 2014 06:38:39 +0000 (14:38 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 5 Feb 2014 06:38:39 +0000 (14:38 +0800)
commit6c704b1534aae603345283c0f6e1d440a8d8fd44
tree2d390c3f10e0f9d1c5993aa6c1737ecad095d989
parent40c761e01afa8ab3dd1df54dd3093529db81c698
MDL-42882 upgrade: Improvements to upgrade code

Suggested by Petr:
* Don't rely on single user for upgrade
* Make the pathnamehash generation a bit clearer (and add
  a test to verify its correctly formed).
lib/tests/upgradelib_test.php
lib/upgradelib.php