I was going through the code here and found out that it's completely …
the point, it could be much tighter and easier to understand. So here's the
candidate replacement code plus some assertions, I intend to let it run for
some time and if no assertion errors come up (they shouldn't) do the replace.
This was almost my very first Moodle code. Isn't experience wonderful? ;-)
Loading branch information...
Nov 6, 2005