Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Suppress PHP notices when connecting to Memcache, fixes #4364 #21

Open
wants to merge 1 commit into from

2 participants

Chris Smith Kohana Builds

Showing 1 unique commit by 1 author.

Jan 16, 2012
Chris Smith Suppress PHP notices when connecting to Memcache, fixes #4364 a09a1bc
This page is out of date. Refresh to see the latest.
2  tests/cache/arithmetic/MemcacheTest.php
@@ -40,7 +40,7 @@ public function setUp()
40 40
 		}
41 41
 
42 42
 		$memcache = new Memcache;
43  
-		if ( ! $memcache->connect($config['servers'][0]['host'], 
  43
+		if ( ! @$memcache->connect($config['servers'][0]['host'],
44 44
 			$config['servers'][0]['port']))
45 45
 		{
46 46
 			$this->markTestSkipped('Unable to connect to memcache server @ '.
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.