File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1939,6 +1939,11 @@ function update($event_name, $data) {
19391939 $ this ->goaccess_update ($ data , $ web_config );
19401940 }
19411941
1942+ //* Remove the AWstats configuration file
1943+ if ($ data ['old ' ]['stats_type ' ] == 'awstats ' ) {
1944+ $ this ->awstats_delete ($ data , $ web_config );
1945+ }
1946+
19421947 //* Remove the GoAccess configuration file
19431948 if ($ data ['old ' ]['stats_type ' ] == 'goaccess ' ) {
19441949 $ this ->goaccess_delete ($ data , $ web_config );
@@ -2335,11 +2340,6 @@ function delete($event_name, $data) {
23352340 $ this ->awstats_delete ($ data , $ web_config );
23362341 }
23372342
2338- //* Remove the GoAccess configuration file
2339- if ($ data ['old ' ]['stats_type ' ] == 'goaccess ' ) {
2340- $ this ->goaccess_delete ($ data , $ web_config );
2341- }
2342-
23432343 //* Delete the web-backups
23442344 if ($ data ['old ' ]['type ' ] == 'vhost ' ) {
23452345 $ server_config = $ app ->getconf ->get_server_config ($ conf ['server_id ' ], 'server ' );
You can’t perform that action at this time.
0 commit comments