Fix Session::set_cookie_domain

This commit is contained in:
Marcus Dalgren 2014-01-17 15:27:12 +01:00
parent 027022ef67
commit 9934230ad8

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);
}
/**