Aleksander Machniak
2015-05-12 9ed8584c3ec3b2063bb26a88fc4e59be068de203
Count memcache/apc debug lines
2 files modified
4 ■■■■ changed files
program/lib/Roundcube/rcube_cache.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_cache_shared.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_cache.php
@@ -666,7 +666,7 @@
     */
    private function debug($type, $key, $data = null, $result = null)
    {
        $line = strtoupper($type) . ' ' . $key;
        $line = '[' . (++$this->debug_count) . '] ' . strtoupper($type) . ' ' . $key;
        if ($data !== null) {
            $line .= ' ' . ($this->packed ? $data : serialize($data));
program/lib/Roundcube/rcube_cache_shared.php
@@ -655,7 +655,7 @@
     */
    private function debug($type, $key, $data = null, $result = null)
    {
        $line = strtoupper($type) . ' ' . $key;
        $line = '[' . (++$this->debug_count) . '] ' . strtoupper($type) . ' ' . $key;
        if ($data !== null) {
            $line .= ' ' . ($this->packed ? $data : serialize($data));