Skip to content

Commit

Permalink
feat: Load language changes
Browse files Browse the repository at this point in the history
Made load language function public so it can be manually triggered
  • Loading branch information
seebeen committed Nov 9, 2023
1 parent b81c2c9 commit 303677d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Module/BaseModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 303677d

Please sign in to comment.