Skip to content
Browse files

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

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

0 comments on commit 3d302c1

Please sign in to comment.
Something went wrong with that request. Please try again.