Merge pull request #2788 from MarcusDalgren/session-cookie-fix

Fix Session::set_cookie_domain
This commit is contained in:
Will Rossiter 2014-01-17 12:20:55 -08:00
commit 11a809798b

View File

@ -169,7 +169,7 @@ class Session {
*/
public static function set_cookie_domain($domain) {
Deprecation::notice('3.2', 'Use the "Session.cookie_domain" config setting instead');
Config::inst()->update('Session', 'cookie_domain', $age);
Config::inst()->update('Session', 'cookie_domain', $domain);
}
/**