diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-26 16:02:16 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-26 16:02:56 -0200 |
commit | eff7c86d7bea87990ac16c4c8d0f3ad45bd1a8d6 (patch) | |
tree | dcfa723037d0b52149cd7bf3f0d49fb9fe01d702 | |
parent | 5c89fc2cf948efba29aa352a9bcaa6bcd83b00c4 (diff) | |
download | pfsense-eff7c86d7bea87990ac16c4c8d0f3ad45bd1a8d6.zip pfsense-eff7c86d7bea87990ac16c4c8d0f3ad45bd1a8d6.tar.gz |
Remove .json when it's not necessary anymore
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 815474e..1518ec0 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -501,6 +501,7 @@ if ($_POST && ($_POST['completed'] != "true")) { // $_POST['completed'] just means that we are refreshing the page to update any new menu items // that were installed if ($_POST && $_POST['completed'] == "true"): + unlink_if_exists($logfilename . ".json"); if (($pkgid == 'firmware') && ($_POST['reboot_needed'] == "yes")): ?> <script> |