summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-07-17 08:07:05 (GMT)
committerAlex Pott2015-07-17 08:07:05 (GMT)
commit7fb23ea26ce1047dc9534e568b50d7e94155de89 (patch)
tree565c053d7e7c0ae0133ed499a9421cf4653ae13d
parentf30b72571e1fdcfbdf98bc52c26897e541521200 (diff)
Issue #2534856 by Dave Reid: Remove unused _toolbar_get_user_cid()
-rw-r--r--core/modules/toolbar/toolbar.module16
1 files changed, 0 insertions, 16 deletions
diff --git a/core/modules/toolbar/toolbar.module b/core/modules/toolbar/toolbar.module
index 3efdca5..ffd637a 100644
--- a/core/modules/toolbar/toolbar.module
+++ b/core/modules/toolbar/toolbar.module
@@ -342,19 +342,3 @@ function _toolbar_get_subtrees_hash() {
$hash = Crypt::hashBase64(serialize($subtrees));
return [$hash, $cacheability];
}
-
-/**
- * Returns a cache ID from the user and language IDs.
- *
- * @param int $uid
- * A user ID.
- * @param string $langcode
- * The langcode of the current request.
- *
- * @return string
- * A unique cache ID for the user.
- */
-function _toolbar_get_user_cid($uid, $langcode) {
- return 'toolbar_' . $uid . ':' . $langcode;
-}
-