MDL-31006 revert partially @ get_config()
commit4e7397ddc704c4ac011222bf6d692320666e0a9e
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 18 Jan 2012 01:09:46 +0000 (18 02:09 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 18 Jan 2012 01:12:14 +0000 (18 02:12 +0100)
treef234c3bbf503d7386b6909a51328e79a6c8a57fe
parent9159aeb465605041416e75ab94b72c032925dba2
MDL-31006 revert partially @ get_config()

The change from null to stdClass() in get_config() was leading to:

1) unit tests not passing.
2) non-equivalent evaluation in conditions (null evals false,
   stdClassi() evals true)
lib/moodlelib.php
lib/simpletest/testfilterconfig.php