mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 19:08:50 +03:00
some small cleanups
This commit is contained in:
parent
c4f2033368
commit
bf90b32b51
4 changed files with 13 additions and 4 deletions
|
|
@ -150,6 +150,12 @@ foreach (glob(ROOT_DIR . '/plugins/*', GLOB_NOSORT | GLOB_ONLYDIR) as $dir) {
|
|||
ksort($manifest_item);
|
||||
$manifest[$name] = $manifest_item;
|
||||
|
||||
foreach (glob("{$dir}/*.min.js") as $file) {
|
||||
unlink($file);
|
||||
}
|
||||
foreach (glob("{$dir}/js/*.min.js") as $file) {
|
||||
unlink($file);
|
||||
}
|
||||
} else {
|
||||
echo "- {$name} {$version}\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue