Use Cookies service within Session and add unit test

[MAILPOET-2248]
This commit is contained in:
Rostislav Wolny
2019-08-05 15:03:19 +02:00
committed by Jack Kitterhing
parent 881d068f8b
commit 13724898d1
6 changed files with 148 additions and 21 deletions

View File

@ -44,4 +44,8 @@ class Cookies {
}
return $value;
}
function delete($name) {
unset($_COOKIE[$name]);
}
}