From 97395c46dfe6d553268eab2904670a328741ffc2 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 8 May 2018 12:22:49 +0300 Subject: [PATCH] Cookie consent fix --- app/Constants/Domain.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/Constants/Domain.php b/app/Constants/Domain.php index 613d89f62bce..2d8b2232b6b5 100644 --- a/app/Constants/Domain.php +++ b/app/Constants/Domain.php @@ -30,17 +30,4 @@ class Domain { return 'maildelivery@' . static::getDomainFromId($id); } - - public static function getCookieDomain($url) - { - if (! Utils::isNinjaProd() || Utils::isReseller()) { - return ''; - } - - if (strpos($url, '.services') !== false) { - return '.invoice.services'; - } else { - return '.invoiceninja.com'; - } - } }