Correct scope.

- class-wc-logger.php
This commit is contained in:
Warren Holmes 2012-12-14 23:44:43 +02:00
parent 8e5fc48846
commit d702e6109e
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class WC_Logger {
* @access public
* @return void
*/
function __construct() {
public function __construct() {
$this->handles = array();
}
@ -32,7 +32,7 @@ class WC_Logger {
* @access public
* @return void
*/
function __destruct() {
public function __destruct() {
foreach ( $this->handles as $handle )
@fclose( escapeshellarg( $handle ) );
}