We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d3d46 commit 1721124Copy full SHA for 1721124
postinstall.pl
@@ -621,7 +621,7 @@ sub module_install
621
$brand{'update'} = 1;
622
$brand{'file'} = "$root_directory/$module_name/images/brand.svg";
623
$brand{'title'} = $title;
624
- $brand{'mode'} = 'full';
+ $brand{'enabled'} = 1;
625
&write_file($brand_info, \%brand);
626
&unlock_file($brand_info);
627
}
uninstall.pl
@@ -29,7 +29,7 @@ sub module_uninstall
29
if (-r $brand_file) {
30
my %brand_info;
31
&read_file($brand_file, \%brand_info);
32
- if ($brand_info{'update'} &&
+ if ($brand_info{'enabled'} &&
33
$brand_info{'file'} &&
34
$brand_info{'file'} =~ /\Q$module_root_directory\E/) {
35
&unlink_file($brand_file);
0 commit comments