From 303677d574bc93a205a259c85f6137b6b0f2f63f Mon Sep 17 00:00:00 2001 From: Sibin Grasic Date: Thu, 9 Nov 2023 12:10:59 +0100 Subject: [PATCH] feat: Load language changes Made load language function public so it can be manually triggered --- src/Module/BaseModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/BaseModule.php b/src/Module/BaseModule.php index 0963c10..589912a 100644 --- a/src/Module/BaseModule.php +++ b/src/Module/BaseModule.php @@ -68,7 +68,7 @@ protected function loadSettings(): array /** * Loads the module language file - across the WHMCS */ - protected function loadLanguage() + public function loadLanguage() { $currentLanguage = $this->getCurrentLanguage(defined('CLIENTAREA')); $languageFile = $this->getLanguageFile($currentLanguage);