Commit b105354e authored by marclaporte's avatar marclaporte

profiles are applied not installed

parent bbbe6802
......@@ -13,7 +13,7 @@ $access->check_permission('tiki_p_admin');
$installer = new Tiki_Profile_Installer();
$profile = Tiki_Profile::fromNames( "profiles.tiki.org","Invoice" );
if (!$installer->isInstalled( $profile )) {
$smarty->assign('msg', tra('You need to install the "Invoice" profile'));
$smarty->assign('msg', tra('You need to apply the "Invoice" profile'));
$smarty->display("error.tpl");
die;
}
......
......@@ -13,7 +13,7 @@ $access->check_permission('tiki_p_admin');
$installer = new Tiki_Profile_Installer();
$profile = Tiki_Profile::fromNames( "profiles.tiki.org","Invoice" );
if (!$installer->isInstalled( $profile )) {
$smarty->assign('msg', tra('You need to install the "Invoice" profile'));
$smarty->assign('msg', tra('You need to apply the "Invoice" profile'));
$smarty->display("error.tpl");
die;
}
......
......@@ -13,7 +13,7 @@ $access->check_permission('tiki_p_admin');
$installer = new Tiki_Profile_Installer();
$profile = Tiki_Profile::fromNames( "profiles.tiki.org","Invoice" );
if (!$installer->isInstalled( $profile )) {
$smarty->assign('msg', tra('You need to install the "Invoice" profile'));
$smarty->assign('msg', tra('You need to apply the "Invoice" profile'));
$smarty->display("error.tpl");
die;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment