You are here

function hacked_reports_hacked in Hacked! 5

Same name and namespace in other branches
  1. 6.2 hacked.report.inc \hacked_reports_hacked()
  2. 6 hacked.module \hacked_reports_hacked()
  3. 7.2 hacked.report.inc \hacked_reports_hacked()
1 string reference to 'hacked_reports_hacked'
hacked_menu in ./hacked.module
Implementation of hook_menu().

File

./hacked.module, line 184
The Hacked! module, shows which project have been changed since download.

Code

function hacked_reports_hacked() {

  // We're going to be borrowing heavily from the update module
  if ($available = update_status_get_available(TRUE)) {
    $data = update_status_calculate_project_data($available);
    $data = hacked_calculate_project_data($data);
    return theme('hacked_report', $data);
  }
  else {
    return theme('update_status_report', _update_status_no_data());
  }
  return 'her';
}