Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Redis User Session Storage
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WP Plugins
Redis User Session Storage
Commits
8c55298d
Commit
8c55298d
authored
5 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Fix docs
parent
8629c6b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Implement "drop_sessions()" method
Pipeline
#1164
passed with stage
in 2 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inc/class-wp-redis-user-session-storage.php
+4
-1
4 additions, 1 deletion
inc/class-wp-redis-user-session-storage.php
with
4 additions
and
1 deletion
inc/class-wp-redis-user-session-storage.php
+
4
−
1
View file @
8c55298d
...
...
@@ -239,6 +239,7 @@ class WP_Redis_User_Session_Storage extends WP_Session_Tokens {
* @since 0.1
* @access public
* @static
*
* @return bool
*/
public
static
function
drop_sessions
()
{
...
...
@@ -248,6 +249,9 @@ class WP_Redis_User_Session_Storage extends WP_Session_Tokens {
/**
* Empty database, clearing all tokens.
*
* @since 0.2
* @access protected
*
* @return bool
*/
protected
function
flush_redis_db
()
{
...
...
@@ -270,7 +274,6 @@ class WP_Redis_User_Session_Storage extends WP_Session_Tokens {
/**
* Override Core's default usermeta-based token storage
*
* @filter session_token_manager
* @return string
*/
function
wp_redis_user_session_storage
()
{
...
...
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