Code Duplication    Length = 10-10 lines in 2 locations

www/engine/System/Classes/Frames/Admin/Area/Install.php 1 location

@@ 13-22 (lines=10) @@
10
11
		# Install area main method
12
13
		protected function area() {
14
15
			# Handle request
16
17
			if (Template::isBlock($result = $this->handle())) return $this->displayPage($result, STATUS_CODE_200);
18
19
			# ------------------------
20
21
			return Status::error404();
22
		}
23
	}
24
}
25

www/engine/System/Classes/Frames/Site/Area/Common.php 1 location

@@ 11-20 (lines=10) @@
8
9
		# Common area main method
10
11
		protected function area() {
12
13
			# Handle request
14
15
			if (Template::isBlock($result = $this->handle())) return $this->displayPage($result, STATUS_CODE_200);
16
17
			# ------------------------
18
19
			return Status::error404();
20
		}
21
	}
22
}
23