Skip to content

Commit efae893

Browse files
committed
Rename $wgFbAjax to $wgFbStreamlineLogin to better reflect its purpose
1 parent a2cc111 commit efae893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Facebook/FacebookHooks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ static function LoadExtensionSchemaUpdates( $updater = null ) {
298298
* Adds several Facebook variables to the page:
299299
*/
300300
public static function ResourceLoaderGetConfigVars( &$vars ) {
301-
global $wgRequest, $wgVersion, $wgFbAppId, $wgFbSocialPlugins, $wgFbAjax, $wgUser;
301+
global $wgRequest, $wgVersion, $wgFbAppId, $wgFbSocialPlugins, $wgFbStreamlineLogin, $wgUser;
302302
/*
303303
// Disabled (ext.facebook.js still uses wgPageName, but not wgPageQuery)
304304
if (!isset($vars['wgPageQuery'])) {
@@ -312,7 +312,7 @@ public static function ResourceLoaderGetConfigVars( &$vars ) {
312312
$vars['fbScript'] = self::getFbScript();
313313
$vars['fbAppId'] = $wgFbAppId;
314314
$vars['fbUseXFBML'] = $wgFbSocialPlugins;
315-
$vars['fbUseAjax'] = $wgFbAjax;
315+
$vars['fbUseAjax'] = $wgFbStreamlineLogin;
316316
if ( $wgUser->isLoggedIn() ) {
317317
global $facebook;
318318
$ids = FacebookDB::getFacebookIDs($wgUser);

0 commit comments

Comments
 (0)