Made cookie::delete() static
This commit is contained in:
parent
134b4d36e0
commit
dc79241673
|
@ -112,7 +112,7 @@ class cookie_Core {
|
||||||
* @param string cookie name
|
* @param string cookie name
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function delete($key)
|
public static function delete($key)
|
||||||
{
|
{
|
||||||
// Remove the cookie
|
// Remove the cookie
|
||||||
unset($_COOKIE[$key]);
|
unset($_COOKIE[$key]);
|
||||||
|
|
Loading…
Reference in a new issue