| @@ -43,15 +43,8 @@ | ||
| 43 | 43 | */ |
| 44 | 44 | final public function __clone() { |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - // Prevent serialization of the instance | |
| 48 | - public function __sleep() { | |
| 49 | - _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'shopbuilder' ), '1.0' ); | |
| 50 | - die(); | |
| 51 | - } | |
| 52 | - | |
| 53 | - | |
| 54 | 47 | /** |
| 55 | 48 | * Prevent unserializing. |
| 56 | 49 | */ |
| 57 | 50 | final public function __wakeup() { |