Skip to content
Snippets Groups Projects
Commit 89868da3 authored by Erick Hitter's avatar Erick Hitter
Browse files

On activation and deactivation, clean up tokens in previous storage

Fixes #2
parent 6ca484f4
No related branches found
No related tags found
1 merge request!7On activation and deactivation, clean up tokens in previous storage
...@@ -46,10 +46,7 @@ final class Activation_Deactivation_Hooks { ...@@ -46,10 +46,7 @@ final class Activation_Deactivation_Hooks {
* @return void * @return void
*/ */
public function clean_usermeta_storage() { public function clean_usermeta_storage() {
wp_schedule_single_event( wp_schedule_single_event( time() + 600, $this->cron_hook );
time() + 600,
'redis_user_session_storage_clean_usermeta_storage'
);
} }
/** /**
......
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