delete to unset

This commit is contained in:
Nicola Mustone 2015-09-16 11:34:03 +02:00
parent 1017798c6c
commit 6bc17c65c8
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ abstract class WC_Session {
*
* @param string $key
*/
public function delete( $key ) {
public function unset( $key ) {
if ( isset( $this->_data[ $key ] ) ) {
unset( $this->_data[ $key ] );
$this->_dirty = true;