From 45d9382af9e1ebb584bbefc0138c62e255a5752a Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 9 Jan 2016 10:16:21 +0900 Subject: [PATCH] Revert "Implement __get() placeholder to prevent a flood of E_NOTICE" This reverts commit 32fd2fb609bb69bbaa90849af7f7ebf56454b81f. --- classes/context/Context.class.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index ba8cc5d78..aee48b1a8 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -1945,19 +1945,6 @@ class Context return $url[$ssl_mode][$domain_key]; } - /** - * Magic method to return null instead of throwing E_NOTICE when undefined properties are accessed - * - * We do not define a corresponding __set() because it does not work with assignment by reference. - * - * @param string $key - * @return null - */ - public function __get($key) - { - return null; - } - /** * Set a context value with a key *