Author: fabien
Date: 2010-05-17 15:09:00 +0200 (Mon, 17 May 2010)
New Revision: 29490

Modified:
   branches/1.3/lib/cache/sfMemcacheCache.class.php
   branches/1.4/lib/cache/sfMemcacheCache.class.php
Log:
[1.3, 1.4] fixed deprecated delete in sfMemcacheCache (closes #8663)

Modified: branches/1.3/lib/cache/sfMemcacheCache.class.php
===================================================================
--- branches/1.3/lib/cache/sfMemcacheCache.class.php    2010-05-17 12:00:07 UTC 
(rev 29489)
+++ branches/1.3/lib/cache/sfMemcacheCache.class.php    2010-05-17 13:09:00 UTC 
(rev 29490)
@@ -133,12 +133,12 @@
   public function remove($key)
   {
     // delete metadata
-    
$this->memcache->delete($this->getOption('prefix').'_metadata'.self::SEPARATOR.$key);
+    
$this->memcache->delete($this->getOption('prefix').'_metadata'.self::SEPARATOR.$key,
 0);
     if ($this->getOption('storeCacheInfo', false))
     {
       $this->setCacheInfo($key, true);
     }
-    return $this->memcache->delete($this->getOption('prefix').$key);
+    return $this->memcache->delete($this->getOption('prefix').$key, 0);
   }
 
   /**

Modified: branches/1.4/lib/cache/sfMemcacheCache.class.php
===================================================================
--- branches/1.4/lib/cache/sfMemcacheCache.class.php    2010-05-17 12:00:07 UTC 
(rev 29489)
+++ branches/1.4/lib/cache/sfMemcacheCache.class.php    2010-05-17 13:09:00 UTC 
(rev 29490)
@@ -133,12 +133,12 @@
   public function remove($key)
   {
     // delete metadata
-    
$this->memcache->delete($this->getOption('prefix').'_metadata'.self::SEPARATOR.$key);
+    
$this->memcache->delete($this->getOption('prefix').'_metadata'.self::SEPARATOR.$key,
 0);
     if ($this->getOption('storeCacheInfo', false))
     {
       $this->setCacheInfo($key, true);
     }
-    return $this->memcache->delete($this->getOption('prefix').$key);
+    return $this->memcache->delete($this->getOption('prefix').$key, 0);
   }
 
   /**

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to