use common-config instead of $config in common_language

darcs-hash:20080922172631-84dde-357c532ac1fb1e2fec54680eb9d294a2ede23ab0.gz
This commit is contained in:
Evan Prodromou 2008-09-22 13:26:31 -04:00
parent a64330b77c
commit ec3c936234

View File

@ -484,7 +484,7 @@ function common_language() {
return $language; return $language;
} }
} else { } else {
return $config['site']['language']; return common_config('site', 'language');
} }
} }
# salted, hashed passwords are stored in the DB # salted, hashed passwords are stored in the DB