Shorter debug output
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 7 May 2008 04:22:40 +0000 (04:22 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 7 May 2008 04:22:40 +0000 (04:22 +0000)
includes/memcached-client.php

index ba39e19..0a28f2d 100644 (file)
@@ -984,9 +984,7 @@ class memcached
 
       if ($this->_debug)
       {
-         if ($flags & memcached::COMPRESSED)
-            $val = 'compressed data';
-         $this->_debugprint(sprintf("MemCache: %s %s => %s (%s)\n", $cmd, $key, $val, $line));
+         $this->_debugprint(sprintf("%s %s (%s)\n", $cmd, $key, $line));
       }
       if ($line == "STORED")
          return true;