Made cookie::delete() static

This commit is contained in:
Geert De Deckere 2009-04-19 22:04:33 +02:00
parent 134b4d36e0
commit dc79241673

View file

@ -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]);