Code Duplication    Length = 3-3 lines in 2 locations

engine/classes/Elgg/Config.php 2 locations

@@ 122-124 (lines=3) @@
119
			return null;
120
		}
121
	
122
		if ($site_guid == $this->CONFIG->site_guid || $site_guid === null) {
123
			$this->CONFIG->$name = $value;
124
		}
125
	
126
		return $value;
127
	}
@@ 178-180 (lines=3) @@
175
			$result = _elgg_services()->configTable->set($name, $value, $site_guid);
176
		}
177
	
178
		if ($site_guid === null || $site_guid == $this->CONFIG->site_guid) {
179
			_elgg_services()->config->set($name, $value);
180
		}
181
	
182
		return $result;
183
	}