You are here

function _hacked_get_projects in Hacked! 7.3

Get modules and themes.

2 calls to _hacked_get_projects()
hacked_report_form in ./hacked.forms.inc
_hacked_report_batch in ./hacked.helpers.inc
Compute the report data for hacked.

File

./hacked.helpers.inc, line 84
Contain list of helpers for the module.

Code

function _hacked_get_projects() {
  module_load_include('inc', 'update', 'update.report');
  if ($available = update_get_available(TRUE)) {
    module_load_include('inc', 'update', 'update.compare');
    return update_calculate_project_data($available);
  }
  return FALSE;
}