GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 12-13 lines in 2 locations

modules/layout/layout.view.php 1 location

@@ 23-34 (lines=12) @@
20
	 * Pop-up layout details(conf/info.xml)
21
	 * @return void
22
	 */
23
	function dispLayoutInfo()
24
	{
25
		// Get the layout information
26
		$oLayoutModel = getModel('layout');
27
		$layout_info = $oLayoutModel->getLayoutInfo(Context::get('selected_layout'));
28
		if(!$layout_info) exit();
29
		Context::set('layout_info', $layout_info);
30
		// Set the layout to be pop-up
31
		$this->setLayoutFile('popup_layout');
32
		// Set a template file
33
		$this->setTemplateFile('layout_detail_info');
34
	}
35
36
	/**
37
	 * Preview a layout with module.

modules/widget/widget.view.php 1 location

@@ 21-33 (lines=13) @@
18
	/**
19
	 * @brief Details of the widget (conf/info.xml) a pop-out
20
	 */
21
	function dispWidgetInfo()
22
	{
23
		// If people have skin widget widget output as a function of the skin More Details
24
		if(Context::get('skin')) return $this->dispWidgetSkinInfo();
25
		// Wanted widget is selected information
26
		$oWidgetModel = getModel('widget');
27
		$widget_info = $oWidgetModel->getWidgetInfo(Context::get('selected_widget'));
28
		Context::set('widget_info', $widget_info);
29
		// Specifies the widget to pop up
30
		$this->setLayoutFile('popup_layout');
31
		// Set a template file
32
		$this->setTemplateFile('widget_detail_info');
33
	}
34
35
	/**
36
	 * @brief Widget details of the skin (skin.xml) a pop-out