FIX session_regenerate_id uses config system

This commit is contained in:
Daniel Hensby 2016-01-05 22:31:58 +00:00
parent d63441623a
commit 00544ff100

View File

@ -359,7 +359,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
* quirky problems (such as using the Windmill 0.3.6 proxy).
*/
public static function session_regenerate_id() {
if(!self::$session_regenerate_id) return;
if(!self::config()->session_regenerate_id) return;
// This can be called via CLI during testing.
if(Director::is_cli()) return;