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 = 19-19 lines in 2 locations

modules/addon/addon.admin.controller.php 2 locations

@@ 252-270 (lines=19) @@
249
	 * @param string $gtype site or global
250
	 * @return Object
251
	 */
252
	function doActivate($addon, $site_srl = 0, $type = "pc", $gtype = 'site')
253
	{
254
		$args = new stdClass();
255
		$args->addon = $addon;
256
		if($type == "pc")
257
		{
258
			$args->is_used = 'Y';
259
		}
260
		else
261
		{
262
			$args->is_used_m = "Y";
263
		}
264
		if($gtype == 'global')
265
		{
266
			return executeQuery('addon.updateAddon', $args);
267
		}
268
		$args->site_srl = $site_srl;
269
		return executeQuery('addon.updateSiteAddon', $args);
270
	}
271
272
	/**
273
	 * Deactivate Addon
@@ 280-298 (lines=19) @@
277
	 * @param string $type pc or mobile
278
	 * @param string $gtype site or global
279
	 */
280
	function doDeactivate($addon, $site_srl = 0, $type = "pc", $gtype = 'site')
281
	{
282
		$args = new stdClass();
283
		$args->addon = $addon;
284
		if($type == "pc")
285
		{
286
			$args->is_used = 'N';
287
		}
288
		else
289
		{
290
			$args->is_used_m = 'N';
291
		}
292
		if($gtype == 'global')
293
		{
294
			return executeQuery('addon.updateAddon', $args);
295
		}
296
		$args->site_srl = $site_srl;
297
		return executeQuery('addon.updateSiteAddon', $args);
298
	}
299
300
}
301
/* End of file addon.admin.controller.php */