Code Duplication    Length = 3-3 lines in 2 locations

lib/objects/ariadne_object.php 2 locations

@@ 1052-1054 (lines=3) @@
1049
1050
	public function setContext($context, $level=0) {
1051
	global $AR;
1052
		if (is_array($AR->context)) {
1053
			$AR->context[count($AR->context)-(1+$level)]=$context;
1054
		}
1055
	}
1056
1057
	public function popContext() {
@@ 1067-1069 (lines=3) @@
1064
1065
	public static function getContext($level=0) {
1066
	global $AR;
1067
		if (is_array($AR->context)) {
1068
			$result = $AR->context[count($AR->context)-(1+$level)];
1069
		}
1070
		return $result;
1071
	}
1072