Minor cleanups:
authorRoland Häder <roland@mxchange.org>
Mon, 24 Oct 2011 23:23:43 +0000 (23:23 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 24 Oct 2011 23:23:43 +0000 (23:23 +0000)
- Commented out noisy debug line
- Added TODO, this method shall be more configurable

inc/classes/main/cache/class_MemoryCache.php
inc/classes/main/console/class_ConsoleTools.php

index c3e24cc16f77fbf0878d404ca4b39c3cf03496f8..61248e0cfddbd89b3f22f29023c2a2b3bd46138e 100644 (file)
@@ -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
        }
index e8066a77310055da14e3186457261554be7a4cec..ab7df3daa4a41fc3d65893f60254140601ce916f 100644 (file)
@@ -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