You are here

static function FlagCookieStorage::drop in Flag 7.2

Same name and namespace in other branches
  1. 6.2 flag.inc \FlagCookieStorage::drop()
  2. 7.3 includes/flag.cookie_storage.inc \FlagCookieStorage::drop()

Deletes all the cookies.

(Etymology: "drop" as in "drop database".)

1 call to FlagCookieStorage::drop()
flag_user_login in ./flag.module
Implements hook_user_login().
2 methods override FlagCookieStorage::drop()
FlagGlobalCookieStorage::drop in ./flag.inc
Deletes all the global cookies.
FlagNonGlobalCookieStorage::drop in ./flag.inc
Deletes the cookie.

File

./flag.inc, line 1914
Implements various flags. Uses object oriented style inspired by that of Views 2.

Class

FlagCookieStorage
Utility class to handle cookies.

Code

static function drop() {
  FlagGlobalCookieStorage::drop();
  FlagNonGlobalCookieStorage::drop();
}