Skip to content

Commit 93efdd6

Browse files
author
php-schubser
committed
fix: adding info message for user
1 parent ae8ccb0 commit 93efdd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

new_files/admin/includes/modules/system/fs_serbian_language_package.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ function display()
5252

5353
function install()
5454
{
55+
global $messageStack;
5556
$sort_order_query = xtc_db_query("SELECT sort_order FROM languages ORDER BY sort_order DESC LIMIT 1");
5657
$sort_order_result = xtc_db_fetch_array($sort_order_query);
5758
$serbianLanguageData = [
@@ -65,6 +66,7 @@ function install()
6566
$stdLanguageModule = new StdLanguageModule;
6667
$stdLanguageModule->init($serbianLanguageData, 0);
6768
parent::install();
69+
$messageStack->add_session(TEXT_LANGUAGE_INSTALLED_SUCCESSFULLY, 'success');
6870
}
6971

7072
function remove()

0 commit comments

Comments
 (0)