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

modules/document/document.controller.php 2 locations

@@ 2304-2309 (lines=6) @@
2301
		{
2302
			$oDB = &DB::getInstance();
2303
			$oDB->begin();
2304
			for($i=0;$i<$document_srl_count;$i++)
2305
			{
2306
				$document_srl = $document_srl_list[$i];
2307
				$output = $this->deleteDocument($document_srl, true);
2308
				if(!$output->toBool()) return new Object(-1, 'fail_to_delete');
2309
			}
2310
			$oDB->commit();
2311
			$msg_code = 'success_deleted';
2312
		}
@@ 2320-2324 (lines=5) @@
2317
2318
			$oDB = &DB::getInstance();
2319
			$oDB->begin();
2320
			for($i=0;$i<$document_srl_count;$i++) {
2321
				$args->document_srl = $document_srl_list[$i];
2322
				$output = $this->moveDocumentToTrash($args);
2323
				if(!$output || !$output->toBool()) return new Object(-1, 'fail_to_trash');
2324
			}
2325
			$oDB->commit();
2326
			$msg_code = 'success_trashed';
2327
		}