Code Duplication    Length = 4-5 lines in 2 locations

class/cache/cache-memcached.php 2 locations

@@ 219-223 (lines=5) @@
216
		$obj = new Memcached();
217
		$obj->addServers($this->aCfg['cache-memcached-server']);
218
219
		if (!empty($this->aCfg['cache-memcached-option-default'])) {
220
			foreach ($this->aCfg['cache-memcached-option-default']
221
				as $k => $v)
222
				$obj->setOption($k, $v);
223
		}
224
225
		if (!empty($this->aCfg['cache-memcached-option'])) {
226
			foreach ($this->aCfg['cache-memcached-option'] as $k => $v)
@@ 225-228 (lines=4) @@
222
				$obj->setOption($k, $v);
223
		}
224
225
		if (!empty($this->aCfg['cache-memcached-option'])) {
226
			foreach ($this->aCfg['cache-memcached-option'] as $k => $v)
227
				$obj->setOption($k, $v);
228
		}
229
230
/*
231
		// Server error ?