]> git.mxchange.org Git - friendica.git/blobdiff - include/pgettext.php
Workaround for vanished database connections while authentication
[friendica.git] / include / pgettext.php
index de7cdda9e8575cfa41a3d117062225666e8e2ca2..fb87798ff72712b74acccc8f2d4a93bf6b5ba1f4 100644 (file)
@@ -98,7 +98,7 @@ if(! function_exists('load_translation_table')) {
  * @param string $lang language code to load
  */
 function load_translation_table($lang) {
-       global $a;
+       $a = get_app();
 
        $a->strings = array();
        // load enabled plugins strings