Cookie consent fix
This commit is contained in:
parent
d0e58b1ef9
commit
97395c46df
1 changed files with 0 additions and 13 deletions
|
|
@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue