Skip to content
Snippets Groups Projects
Commit 0ebd2da2 authored by Olav Morken's avatar Olav Morken
Browse files

Remember to save the data on restored objects.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@75 44740490-163a-0410-bde0-09ae8108e29a
parent 5bd214b8
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,9 @@ class SimpleSAML_MemcacheStore {
$latest->savedData = $latestSerializedValue;
}
/* Add a call to save the data when we exit. */
register_shutdown_function(array($latest, 'save'));
return $latest;
}
......
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