| 
					
				 | 
			
			
				@@ -0,0 +1,22 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+diff --git a/lib/Redis/Lock/PhpRedis.php b/lib/Redis/Lock/PhpRedis.php 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+index f9ae845..6cf626d 100644 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+--- a/lib/Redis/Lock/PhpRedis.php 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				++++ b/lib/Redis/Lock/PhpRedis.php 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@@ -108,7 +108,7 @@ class Redis_Lock_PhpRedis extends Redis_Lock_DefaultBackend { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     if ($client->get($key) == $id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       $client->multi(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+-      $client->delete($key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				++      $client->del($key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       $client->exec(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@@ -131,7 +131,7 @@ class Redis_Lock_PhpRedis extends Redis_Lock_DefaultBackend { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       $owner = $client->get($key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       if (empty($owner) || $owner == $id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+-        $client->delete($key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				++        $client->del($key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   } 
			 |