Skip to content

Commit

Permalink
MDL-31181 fix missing global $CFG that was breaking unit test teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jan 21, 2012
1 parent f6b4ec2 commit aeacb7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/simpletest/testfilterconfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ public function setUp() {
}

public function tearDown() {
global $CFG;
$CFG->stringfilters = $this->origcfgstringfilters;
$CFG->filterall = $this->origcfgfilterall;

Expand Down

0 comments on commit aeacb7b

Please sign in to comment.