Code Duplication    Length = 5-5 lines in 2 locations

engine/classes/ElggMemcache.php 2 locations

@@ 161-165 (lines=5) @@
158
		}
159
160
		$result = $this->memcache->set($key, $data, null, $expires);
161
		if ($result === false) {
162
			_elgg_services()->logger->error("MEMCACHE: SAVE FAIL $key");
163
		} else {
164
			_elgg_services()->logger->info("MEMCACHE: SAVE SUCCESS $key");
165
		}
166
167
		return $result;
168
	}
@@ 183-187 (lines=5) @@
180
		$key = $this->makeMemcacheKey($key);
181
182
		$result = $this->memcache->get($key);
183
		if ($result === false) {
184
			_elgg_services()->logger->info("MEMCACHE: LOAD MISS $key");
185
		} else {
186
			_elgg_services()->logger->info("MEMCACHE: LOAD HIT $key");
187
		}
188
189
		return $result;
190
	}