moodle/moodle — pull request #116 by rougeth (2014-12-17 16:49:54+00:00)
Title: Removed duplicated code

Just for the recort. https://tracker.moodle.org/browse/MDL-48640