summaryrefslogtreecommitdiff
path: root/actions/finishopenidlogin.php
diff options
context:
space:
mode:
authorEric Helgeson <helfire@Erics-MBP.local>2009-03-09 20:01:35 -0500
committerEric Helgeson <helfire@Erics-MBP.local>2009-03-09 20:01:35 -0500
commitc6cd87c106b763ed5610dae64e5a02ba86609ece (patch)
tree2f93e5b2f7183fee0c6fcebce9de93033f930ae2 /actions/finishopenidlogin.php
parent945bbf00dc9ee106359e9387956c72c1290d12fc (diff)
Changed all $config[][] calls to common_config()
Diffstat (limited to 'actions/finishopenidlogin.php')
-rw-r--r--actions/finishopenidlogin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/finishopenidlogin.php b/actions/finishopenidlogin.php
index 6d92cb9aa..52d9be29c 100644
--- a/actions/finishopenidlogin.php
+++ b/actions/finishopenidlogin.php
@@ -62,9 +62,8 @@ class FinishopenidloginAction extends Action
if ($this->error) {
$this->element('div', array('class' => 'error'), $this->error);
} else {
- global $config;
$this->element('div', 'instructions',
- sprintf(_('This is the first time you\'ve logged into %s so we must connect your OpenID to a local account. You can either create a new account, or connect with your existing account, if you have one.'), $config['site']['name']));
+ sprintf(_('This is the first time you\'ve logged into %s so we must connect your OpenID to a local account. You can either create a new account, or connect with your existing account, if you have one.'), common_config('site', 'name')));
}
}