Merge pull request #3156 from stilez/patch-43

This commit is contained in:
Renato Botelho 2016-10-12 12:45:51 -03:00
commit ceea9d9cfb

View File

@ -340,7 +340,7 @@ function get_package_internal_name($package_data) {
}
// Get information about packages.
function get_pkg_info($pkgs = 'all', $info = 'all', $only_local = false) {
function get_pkg_info($pkgs = 'all', $only_local = false) {
global $g, $input_errors;
$out = '';
@ -456,7 +456,7 @@ function get_pkg_info($pkgs = 'all', $info = 'all', $only_local = false) {
function register_all_installed_packages() {
global $g, $config, $pkg_interface;
$pkg_info = get_pkg_info('all', 'all', true);
$pkg_info = get_pkg_info('all', true);
foreach ($pkg_info as $pkg) {
if (!isset($pkg['installed'])) {