Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
222
Merge Requests
222
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
7fb23ea2
Commit
7fb23ea2
authored
Jul 17, 2015
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2534856
by Dave Reid: Remove unused _toolbar_get_user_cid()
parent
f30b7257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
core/modules/toolbar/toolbar.module
core/modules/toolbar/toolbar.module
+0
-16
No files found.
core/modules/toolbar/toolbar.module
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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment