Commit 7fb23ea2 authored by alexpott's avatar alexpott

Issue #2534856 by Dave Reid: Remove unused _toolbar_get_user_cid()

parent f30b7257
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment