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

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