mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 22:04:51 +00:00
Remove unused variable assignment. was calling get_os with no parameters, so nothing was ever returned anyway. Get_os instead can now be given the user agent to determine the OS
This commit is contained in:
@@ -22,7 +22,6 @@ if (!$_SESSION['client_logged_in']) {
|
||||
|
||||
// SESSION FINGERPRINT
|
||||
$session_ip = strip_tags(mysqli_real_escape_string($mysqli, get_ip()));
|
||||
$session_os = strip_tags(mysqli_real_escape_string($mysqli, get_os()));
|
||||
|
||||
// Get user agent
|
||||
$session_user_agent = strip_tags(mysqli_real_escape_string($mysqli, $_SERVER['HTTP_USER_AGENT']));
|
||||
|
||||
Reference in New Issue
Block a user