Fix error adding a new scale to Moodle 2.7

I have commented out the feature to prevent errors. which worked around this issue.