Skip to content

Commit 303677d

Browse files
committed
feat: Load language changes
Made load language function public so it can be manually triggered
1 parent b81c2c9 commit 303677d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Module/BaseModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function loadSettings(): array
6868
/**
6969
* Loads the module language file - across the WHMCS
7070
*/
71-
protected function loadLanguage()
71+
public function loadLanguage()
7272
{
7373
$currentLanguage = $this->getCurrentLanguage(defined('CLIENTAREA'));
7474
$languageFile = $this->getLanguageFile($currentLanguage);

0 commit comments

Comments
 (0)