Fixed bug #12085: Memcached Configuration status report is broken
authorRupert Germann <rupi@gmx.li>
Wed, 30 Sep 2009 15:05:53 +0000 (15:05 +0000)
committerRupert Germann <rupi@gmx.li>
Wed, 30 Sep 2009 15:05:53 +0000 (15:05 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6077 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/reports/reports/status/class.tx_reports_reports_status_configurationstatus.php

index 4b5ac1b..9e2be93 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
 
        * Fixed bug #12080 (Follow-up to bug #11505): pageCacheToExternalFiles=1 breaks db-caching in 4.3
        * Fixed bug #12082: PHP fatal error with frameset page
+       * Fixed bug #12085: Memcached Configuration status report is broken
 
 2009-09-29  Francois Suter  <francois@typo3.org>
 
index bae08b5..9cbb733 100644 (file)
@@ -40,7 +40,7 @@ class tx_reports_reports_status_ConfigurationStatus implements tx_reports_Status
        public function getStatus() {\r
                $statuses = array(\r
                        'emptyReferenceIndex' => $this->getReferenceIndexStatus(),\r
-                       \r
+\r
                );\r
 \r
                if ($this->isMemcachedUsed()) {\r
@@ -147,7 +147,7 @@ class tx_reports_reports_status_ConfigurationStatus implements tx_reports_Status
                                                list($host, $port) = explode(':', $testServer, 2);\r
                                        } else {\r
                                                $host = $testServer;\r
-                                               $port = $defaultPort;\r
+                                               $port = $defaultMemcachedPort;\r
                                        }\r
                                }\r
                                $memcachedConnection = @memcache_connect($host, $port);\r