Skip to content
Snippets Groups Projects
Commit 7fb23ea2 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent f30b7257
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment