From 5ea161bcbde4efba71f350b6cc3cdd23002c9d3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 24 Oct 2011 23:23:43 +0000 Subject: [PATCH] Minor cleanups: - Commented out noisy debug line - Added TODO, this method shall be more configurable --- inc/classes/main/cache/class_MemoryCache.php | 2 +- inc/classes/main/console/class_ConsoleTools.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/classes/main/cache/class_MemoryCache.php b/inc/classes/main/cache/class_MemoryCache.php index c3e24cc1..61248e0c 100644 --- a/inc/classes/main/cache/class_MemoryCache.php +++ b/inc/classes/main/cache/class_MemoryCache.php @@ -115,7 +115,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable { // Is the offset there? if ($this->offsetExists($offset)) { // Purge only existing keys - /* DEBUG: */ $this->debugOutput('CACHE: Unsetting cache ' . $offset); + //* DEBUG: */ $this->debugOutput('CACHE: Unsetting cache ' . $offset); $this->dataCache->offsetUnset($offset); } // END - if } diff --git a/inc/classes/main/console/class_ConsoleTools.php b/inc/classes/main/console/class_ConsoleTools.php index e8066a77..ab7df3da 100644 --- a/inc/classes/main/console/class_ConsoleTools.php +++ b/inc/classes/main/console/class_ConsoleTools.php @@ -145,6 +145,7 @@ class ConsoleTools extends BaseFrameworkSystem { * @return $externalAddress The determined external IP address * @throws InvalidSocketException If socket initialization wents wrong or if an errors occurs * @todo This should be moved out to an external class, e.g. HttpClient + * @todo Make IP, host name, port and script name configurable */ public static function determineExternalIp () { // Get helper instance -- 2.30.2