Remove reference to allow_browser_sniffer - refs BT#11031

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 6eef57f939
commit 68aa90f328
  1. 8
      user_portal.php

@ -191,14 +191,6 @@ if (empty($courseAndSessions['html']) && !isset($_GET['history'])) {
$controller->tpl->assign('content', $courseAndSessions['html']);
if (api_get_setting('allow_browser_sniffer') == 'true') {
if (isset($_SESSION['sniff_navigator']) && $_SESSION['sniff_navigator'] != "checked") {
$controller->tpl->assign('show_sniff', 1);
} else {
$controller->tpl->assign('show_sniff', 0);
}
}
// Display the Site Use Cookie Warning Validation
$useCookieValidation = api_get_setting('cookie_warning');
if ($useCookieValidation === 'true') {

Loading…
Cancel
Save