From: Roland Häder Date: Mon, 24 Oct 2011 23:23:43 +0000 (+0000) Subject: Minor cleanups: X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=5ea161bcbde4efba71f350b6cc3cdd23002c9d3c Minor cleanups: - Commented out noisy debug line - Added TODO, this method shall be more configurable --- 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