Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a get_current_language() helper function #7561

Merged

Commits on Jul 11, 2019

  1. Add a get_current_language() helper function

    This can be used instead of accessing the global "current_language" variable.
    
    Replace various accesses to the "authenticated_user_language" session var
    with a call to get_current_language().
    
    Adds some basic unit tests.
    lazka committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    55e0d46 View commit details
    Browse the repository at this point in the history