We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2e7a5 commit e5ff1deCopy full SHA for e5ff1de
main/admin/index.php
@@ -1014,20 +1014,6 @@
1014
$admin_ajax_url = api_get_path(WEB_AJAX_PATH).'admin.ajax.php';
1015
1016
$tpl = new Template();
1017
-
1018
-// Display the Site Use Cookie Warning Validation
1019
-$useCookieValidation = api_get_setting('cookie_warning');
1020
-if ($useCookieValidation === 'true') {
1021
- if (!api_site_use_cookie_warning_cookie_exist()) {
1022
- if (Template::isToolBarDisplayedForUser()) {
1023
- $tpl->assign('toolBarDisplayed', true);
1024
- } else {
1025
- $tpl->assign('toolBarDisplayed', false);
1026
- }
1027
- $tpl->enableCookieUsageWarning();
1028
1029
-}
1030
1031
$tpl->assign('web_admin_ajax_url', $admin_ajax_url);
1032
$tpl->assign('blocks', $blocks);
1033
0 commit comments