Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443205
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3443205
Commits
7fb23ea2
Commit
7fb23ea2
authored
9 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2534856
by Dave Reid: Remove unused _toolbar_get_user_cid()
parent
f30b7257
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/toolbar/toolbar.module
+0
-16
0 additions, 16 deletions
core/modules/toolbar/toolbar.module
with
0 additions
and
16 deletions
core/modules/toolbar/toolbar.module
+
0
−
16
View file @
7fb23ea2
...
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment