Changeset 35244 for trunk/tests/phpunit/tests/query/setupPostdata.php
- Timestamp:
- 10/17/2015 07:24:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/setupPostdata.php
r35242 r35244 22 22 } 23 23 } 24 }25 26 public function tearDown() {27 parent::tearDown();28 return;29 30 foreach ( $this->global_keys as $global_key ) {31 if ( ! is_null( $this->global_data[ $global_key ] ) ) {32 $GLOBALS[ $global_key ] = $this->global_data[ $global_key ];33 } else {34 unset( $GLOBALS[ $global_key ] );35 }36 }37 38 $this->global_data = array();39 24 } 40 25
Note: See TracChangeset
for help on using the changeset viewer.