Git commits in Moodle 1.8.3 by samulik

commit 186b0a153733a90df2f264bca56a104408bd1f6e
Author: samulik <samulik>
Date:   Mon, 24 Sep 2007 14:32:14 +0800
Tag:    v1.8.3

MDL-1883 - /course/scales.php very slow. "Backported" the fix by Petr from 1.9 to 1.8. Not a direct merge as the code has been refactored.