You are here

static function FlagCookieStorage::drop in Flag 6.2

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

Deletes all the cookies.

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

1 call to FlagCookieStorage::drop()
flag_user in ./flag.module
Implementation of hook_user().
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 1823
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();
}