MDL-50583 upgrade: Optimize upgrade_minmaxgrade
authorGeekSmith <cbmegahan@geeksmith.com>
Fri, 12 Jun 2015 20:21:50 +0000 (16:21 -0400)
committerDavid Monllao <davidm@moodle.com>
Mon, 15 Jun 2015 02:40:46 +0000 (10:40 +0800)
commit82cca1ab16538c0a31268a873a2fbef81b73a572
tree8a83981cd0d5437a53bf46d7763abf852f6f82ac
parentf1a415ea701971a8f335e7e9fe193fcf72c1093c
MDL-50583 upgrade: Optimize upgrade_minmaxgrade

Reverse join order to use existing database keys. Changed query to use the
more easily read NOT IN.
lib/upgradelib.php