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

modules/module/module.class.php 1 location

@@ 269-272 (lines=4) @@
266
						// Register keys for document extra vars
267
						if(count($document_extra_keys))
268
						{
269
							foreach($document_extra_keys as $var_idx => $val)
270
							{
271
								$oDocumentController->insertDocumentExtraKey($module_srl, $var_idx, $val->name, $val->type, $val->is_required, $val->search, $val->default, $val->desc, 'extra_vars'.$var_idx);
272
							}
273
							// 2009-04-14 Fixed a bug that only 100 extra vars are moved
274
							$oDocumentModel = getModel('document');
275
							$total_count = $oDocumentModel->getDocumentCount($module_srl);

modules/document/document.controller.php 1 location

@@ 2544-2547 (lines=4) @@
2541
			$oDocumentController=getController('document');
2542
			foreach($obj->moduleSrlList AS $key=>$value)
2543
			{
2544
				foreach($documentExtraKeys AS $extraItem)
2545
				{
2546
					$oDocumentController->insertDocumentExtraKey($value, $extraItem->idx, $extraItem->name, $extraItem->type, $extraItem->is_required , $extraItem->search , $extraItem->default , $extraItem->desc, $extraItem->eid) ;
2547
				}
2548
			}
2549
		}
2550
	}