aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-13 04:52:29 -0700
committerfriendica <info@friendica.com>2012-05-13 04:52:29 -0700
commit3811fe288fe4446aaa890f9d98acbb3b670b7f3b (patch)
treea66cda15617a09a89408a74e5bed801a619b1f26 /include/security.php
parenteaf028c9fb5c3eefc7dd7d4e4b1c4308cb071137 (diff)
downloadvolse-hubzilla-3811fe288fe4446aaa890f9d98acbb3b670b7f3b.tar.gz
volse-hubzilla-3811fe288fe4446aaa890f9d98acbb3b670b7f3b.tar.bz2
volse-hubzilla-3811fe288fe4446aaa890f9d98acbb3b670b7f3b.zip
rename get_language() to get_browser_language()
Diffstat (limited to 'include/security.php')
-rwxr-xr-xinclude/security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php
index a92400b5c..af201d2af 100755
--- a/include/security.php
+++ b/include/security.php
@@ -76,7 +76,7 @@ function authenticate_success($user_record, $login_initial = false, $interactive
header('X-Account-Management-Status: active; name="' . $a->user['username'] . '"; id="' . $a->user['nickname'] .'"');
if($login_initial) {
- $l = get_language();
+ $l = get_browser_language();
q("UPDATE `user` SET `login_date` = '%s', `language` = '%s' WHERE `uid` = %d LIMIT 1",
dbesc(datetime_convert()),