diff options
author | Renato Botelho <renato@netgate.com> | 2017-08-16 17:18:11 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-08-16 17:18:11 -0300 |
commit | cc28e9b1d39eaf64e28702b963dde7a6132a4691 (patch) | |
tree | 5f4879592891839ef9a9dc2ff22ba85fd98ad71e /src/usr/local/www/pkg_mgr.php | |
parent | 3e30b953c7a7e26652dca5d6111c09a7693c57d9 (diff) | |
download | pfsense-cc28e9b1d39eaf64e28702b963dde7a6132a4691.zip pfsense-cc28e9b1d39eaf64e28702b963dde7a6132a4691.tar.gz |
Speedup package related calls to get_pkg_info() since now we have a script that update metadata periodically
Diffstat (limited to 'src/usr/local/www/pkg_mgr.php')
-rw-r--r-- | src/usr/local/www/pkg_mgr.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg_mgr.php b/src/usr/local/www/pkg_mgr.php index 800ff5f..e109078 100644 --- a/src/usr/local/www/pkg_mgr.php +++ b/src/usr/local/www/pkg_mgr.php @@ -52,8 +52,7 @@ if (($_REQUEST) && ($_REQUEST['ajax'])) { // The content for the table of packages is created here and fetched by Ajax. This allows us to draw the page and display // any required messages while the table is being downloaded/populated. On very small/slow systems, that can take a while function get_pkg_table() { - - $pkg_info = get_pkg_info(); + $pkg_info = get_pkg_info('all', true, false); if (!$pkg_info) { print("error"); |