Skip to content
Snippets Groups Projects
Commit f982cc1e authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

prevent warning, fixes #4959

Closes #4959

Merge request studip/studip!3726
parent b6ae4535
No related branches found
No related tags found
No related merge requests found
......@@ -756,10 +756,9 @@ abstract class ModuleManagementModel extends SimpleORMap implements ModuleManage
*
* @return string The currently selected language.
*/
public static final function getLanguage()
final public static function getLanguage()
{
$language = self::$language ?: $GLOBALS['MVV_LANGUAGES']['default'];
return $language;
return self::$language;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment