From 31759cb3b3090c1b9d68ac54f2d2622584003563 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 15 Dec 2008 08:37:09 +0000 Subject: Delete trunk/kohana and trunk/modules/unit_test in preparation to refresh them properly from the vendor branch. --- kohana/helpers/cookie.php | 84 ----------------------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 kohana/helpers/cookie.php (limited to 'kohana/helpers/cookie.php') diff --git a/kohana/helpers/cookie.php b/kohana/helpers/cookie.php deleted file mode 100644 index d10c6966..00000000 --- a/kohana/helpers/cookie.php +++ /dev/null @@ -1,84 +0,0 @@ -cookie($name, $default, $xss_clean); - } - - /** - * Nullify and unset a cookie. - * - * @param string cookie name - * @param string URL path - * @param string URL domain - * @return boolean - */ - public static function delete($name, $path = NULL, $domain = NULL) - { - if ( ! isset($_COOKIE[$name])) - return FALSE; - - // Delete the cookie from globals - unset($_COOKIE[$name]); - - // Sets the cookie value to an empty string, and the expiration to 24 hours ago - return cookie::set($name, '', -86400, $path, $domain, FALSE, FALSE); - } - -} // End cookie \ No newline at end of file -- cgit v1.2.3