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

function.php 2 locations

@@ 89-93 (lines=5) @@
86
                )" ,$value,$expUnit,$expQ,$user,$myreason);
87
	}
88
89
	if ($myconn->query($query) === TRUE) {
90
	    syslog(LOG_INFO, "$user: $type <$value> successfully listed on <$table> for $expQ $expUnit.");
91
	    $result=TRUE;
92
	}
93
	else syslog(LOG_ERR, "$user: Error: ".$myconn->error);
94
	return $result;
95
}
96
@@ 131-135 (lines=5) @@
128
			WHERE `$table`.`$type` = '%s' LIMIT 1" ,$user,$expUnit,$expQ,$myreason,$value);
129
	}
130
131
        if ($myconn->query($query) === TRUE) {
132
            syslog(LOG_INFO, "$user: relist $type <$value> on <$table> for $expQ $expUnit.");
133
		$result=TRUE;
134
        }
135
        else syslog (LOG_ERR, "$user: Error: ". $myconn->error);
136
	return $result;
137
}
138