parent
8e5fc48846
commit
d702e6109e
|
@ -21,7 +21,7 @@ class WC_Logger {
|
||||||
* @access public
|
* @access public
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct() {
|
public function __construct() {
|
||||||
$this->handles = array();
|
$this->handles = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ class WC_Logger {
|
||||||
* @access public
|
* @access public
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __destruct() {
|
public function __destruct() {
|
||||||
foreach ( $this->handles as $handle )
|
foreach ( $this->handles as $handle )
|
||||||
@fclose( escapeshellarg( $handle ) );
|
@fclose( escapeshellarg( $handle ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue