From 33276f3ce5ede6259721ec7b0afa2e34c867fe61 Mon Sep 17 00:00:00 2001 From: Erick Hitter <services@ethitter.com> Date: Sun, 21 Feb 2016 20:33:34 -0800 Subject: [PATCH] Remove dummy magic methods that break _everything_. :) --- eth-amp-analytics-wp.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eth-amp-analytics-wp.php b/eth-amp-analytics-wp.php index a90ca38..932ecae 100644 --- a/eth-amp-analytics-wp.php +++ b/eth-amp-analytics-wp.php @@ -44,10 +44,6 @@ class ETH_AMP_Analytics_WP { */ public function __clone() {_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); } public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); } - public function __isset( $key ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); } - public function __get( $key ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); } - public function __set( $key, $value ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); } - public function __unset( $key ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); } public function __call( $name = '', $args = array() ) { unset( $name, $args ); return null; } /** -- GitLab