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

modules/member/member.admin.model.php 1 location

@@ 223-232 (lines=10) @@
220
	 *
221
	 * @return int
222
	 */
223
	public function getMemberCountByDate($date = '')
224
	{
225
		$args = new stdClass();
226
		if($date) $args->regDate = date('Ymd', strtotime($date));
227
228
		$output = executeQuery('member.getMemberCountByDate', $args);
229
		if(!$output->toBool()) return 0;
230
231
		return $output->data->count;
232
	}
233
234
	/**
235
	 * Return site join member count with date

modules/admin/admin.admin.model.php 1 location

@@ 919-935 (lines=17) @@
916
	 * @param string $date
917
	 * @return int
918
	 */
919
	function getSiteCountByDate($date = '')
920
	{
921
		$args = new stdClass();
922
923
		if($date)
924
		{
925
			$args->regDate = date('Ymd', strtotime($date));
926
		}
927
928
		$output = executeQuery('admin.getSiteCountByDate', $args);
929
		if(!$output->toBool())
930
		{
931
			return 0;
932
		}
933
934
		return $output->data->count;
935
	}
936
937
	function getFaviconUrl($default = true)
938
	{