Skip to content
Browse files

Bugfix for $wgDBprefix (thanks, LaKing!)

  • Loading branch information...
1 parent 6dfa807 commit 48d16dd5a68b0bee9828ed8690ce04a15d1c9ed3 @garbear committed Mar 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Facebook/FacebookDB.php
2 Facebook/FacebookDB.php
@@ -210,7 +210,7 @@ public static function sharedDB() {
private static function getPrefix() {
global $wgDBprefix, $wgSharedPrefix;
- return self::sharedDB() ? $wgSharedPrefix : $wgDBprefix;
+ return self::sharedDB() ? $wgSharedPrefix : ""; //bugfix for $wgDBprefix;

1 comment on commit 48d16dd

garbear commented on 48d16dd Jan 7, 2012

From the MediaWiki extension page:

"You may notice that your Facebook extension is still not functional. When going to special pages -> Log in with Facebook, you get a database error, where you can observe that you have a duplicated database prefix. To fix this, find the offending line and change it as above. This should eliminate your double prefix issue."

Please sign in to comment.
Something went wrong with that request. Please try again.