diff --git a/root/install_portal/install.php b/root/install_portal/install.php index 4886d120..624f107c 100644 --- a/root/install_portal/install.php +++ b/root/install_portal/install.php @@ -983,6 +983,9 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') ) } } + // clear cache and log what we did + $cache->purge(); + add_log('admin', $page_title . ' updated'); $updated = true; } } @@ -1097,8 +1100,11 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') ) $db->sql_query($sql); } $db->sql_freeresult($result); - - $installed = true; + + // clear cache and log what we did + $cache->purge(); + add_log('admin', $page_title . ' uninstalled'); + $uninstalled = true; } else {