}
// user declined or any other error that may occur
if (isset($_GET['error'])) {
- throw new NamedUserException(WCF::getLanguage()->get('wcf.user.3rdparty.facebook.login.error.'.$_GET['error']));
+ throw new NamedUserException(WCF::getLanguage()->getDynamicVariable('wcf.user.3rdparty.facebook.login.error.'.$_GET['error']));
}
// start auth by redirecting to facebook
}
// user declined or any other error that may occur
if (isset($_GET['error'])) {
- throw new NamedUserException(WCF::getLanguage()->get('wcf.user.3rdparty.github.login.error.'.$_GET['error']));
+ throw new NamedUserException(WCF::getLanguage()->getDynamicVariable('wcf.user.3rdparty.github.login.error.'.$_GET['error']));
}
// start auth by redirecting to github
}
// user declined or any other error that may occur
if (isset($_GET['error'])) {
- throw new NamedUserException(WCF::getLanguage()->get('wcf.user.3rdparty.google.login.error.'.$_GET['error']));
+ throw new NamedUserException(WCF::getLanguage()->getDynamicVariable('wcf.user.3rdparty.google.login.error.'.$_GET['error']));
}
// start auth by redirecting to google
// user declined
if (isset($_GET['denied'])) {
- throw new NamedUserException(WCF::getLanguage()->get('wcf.user.3rdparty.twitter.login.error.denied'));
+ throw new NamedUserException(WCF::getLanguage()->getDynamicVariable('wcf.user.3rdparty.twitter.login.error.denied'));
}
// start auth by fetching request_token