Permalink
Browse files

MDL-31181 fix missing global $CFG that was breaking unit test teardown

  • Loading branch information...
1 parent 269c884 commit ea5214d534387266df35f5fc5a0cd045c53f549d @skodak skodak committed Jan 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/simpletest/testfilterconfig.php
@@ -785,6 +785,7 @@ public function setUp() {
}
public function tearDown() {
+ global $CFG;
$CFG->stringfilters = $this->origcfgstringfilters;
$CFG->filterall = $this->origcfgfilterall;

0 comments on commit ea5214d

Please sign in to comment.