Example #1
0
 /**
  * Deletes a cookie on the client
  *
  * @param $key string the cookie key to delete
  *
  * @return bool
  */
 public function deleteCookie($key)
 {
     setcookie($key, '', NOW - 36000, Context::getWebroot());
     return true;
 }