using unset also in the magic method
This commit is contained in:
parent
6bc17c65c8
commit
7d6bf488c9
|
@ -55,7 +55,7 @@ abstract class WC_Session {
|
|||
* @param mixed $key
|
||||
*/
|
||||
public function __unset( $key ) {
|
||||
$this->delete( $key );
|
||||
$this->unset( $key );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue