summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraacraig2012-11-23 23:14:19 (GMT)
committer Dave Cohen2012-11-23 23:14:19 (GMT)
commit92d75b6f349555d9a783bc83793230bc3b6d8c35 (patch)
treee7a15eb5ff56ca972d2c0fd064e4210e70dbd820
parent49d1a6a8c62f4167f931f23635c06cebf008b2f3 (diff)
fixes #118575 by aacraig, Dave Cohen: clean up test login status variable
-rw-r--r--fb.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/fb.module b/fb.module
index dc0b018..20de43f 100644
--- a/fb.module
+++ b/fb.module
@@ -53,6 +53,7 @@ define('FB_VAR_USE_SESSION', 'fb_use_session');
define('FB_VAR_JS_USE_SESSION', 'fb_js_session_token'); // Initialize JS with token from session.
define('FB_VAR_JS_GET_LOGIN_STATUS', 'fb_js_get_login_status'); // call FB.getLoginStatus during js init?
+define('FB_VAR_JS_TEST_LOGIN_STATUS', 'fb_js_test_login_status');
define('FB_VAR_JS_OAUTH', 'fb_js_oauth'); // Whether to pass oauth: true to FB.init().
define('FB_VAR_CURL_NOVERIFY', 'fb_curl_noverify');
@@ -329,7 +330,7 @@ function fb_init() {
fb_invoke(FB_OP_POST_INIT, array('fb_app' => $_fb_app,
'fb' => $_fb));
- fb_js_settings('test_login_status', variable_get(FB_VAR_JS_USE_SESSION, TRUE));
+ fb_js_settings('test_login_status', variable_get(FB_VAR_JS_TEST_LOGIN_STATUS, TRUE));
fb_js_settings('get_login_status', variable_get(FB_VAR_JS_GET_LOGIN_STATUS, TRUE));
fb_js_settings('controls', implode(',', fb_controls()));