diff options
author | Nathan Kinkade <nath@nkinka.de> | 2012-12-10 22:35:46 +0000 |
---|---|---|
committer | Nathan Kinkade <nath@nkinka.de> | 2012-12-10 22:35:46 +0000 |
commit | df12e1bcf7547802a94a7b492cdb22fca9ec6e1c (patch) | |
tree | f9a9b747456b534a661c65fc401b506f3dc4ee84 /modules/gallery/helpers | |
parent | fc7750c742d30c6ebd42a12c9d468f54e90d470d (diff) | |
parent | 7c62c67d56e854f69a411dd56c48ef066f951c48 (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/item.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php index d8b660d9..b739e8bd 100644 --- a/modules/gallery/helpers/item.php +++ b/modules/gallery/helpers/item.php @@ -415,6 +415,13 @@ class item_Core { } /** + * Get rid of the display context callback + */ + static function clear_display_context_callback() { + Cache::instance()->delete("display_context_" . $sid = Session::instance()->id()); + } + + /** * Call the display context callback for the given item */ static function get_display_context($item) { |