You are here

function _hacked_reports_hacked_diff in Hacked! 5

1 string reference to '_hacked_reports_hacked_diff'
hacked_menu in ./hacked.module
Implementation of hook_menu().

File

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

Code

function _hacked_reports_hacked_diff($project_name, $tail) {
  require_once drupal_get_path('module', 'hacked') . '/hacked.diff.inc';

  // Load the project:
  if ($project = hacked_project_nocache_load($project_name)) {

    // Set the page title:
    hacked_reports_hacked_diff_title($project, $tail);
    return hacked_reports_hacked_diff($project, $tail);
  }
  else {
    drupal_not_found();
  }
}