/[drupal]/contributions/modules/admintools/cron.module
ViewVC logotype

Diff of /contributions/modules/admintools/cron.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5, Wed May 13 17:07:05 2009 UTC revision 1.6, Mon Jun 8 13:41:07 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: cron.module,v 1.4 2009/05/03 22:15:15 denraf Exp $  // $Id: cron.module,v 1.5 2009/05/13 17:07:05 denraf Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 24  function cron_menu() { Line 24  function cron_menu() {
24      'description' => 'Administer all your crons from one drupal',      'description' => 'Administer all your crons from one drupal',
25      'page callback' => 'drupal_get_form',      'page callback' => 'drupal_get_form',
26      'page arguments' => array('cron_list_form'),      'page arguments' => array('cron_list_form'),
27      'access arguments' => array('authenticated user'),      'access arguments' => array('admin tools'),
28    );    );
29    $items['admin/settings/tools/cron/list'] = array(    $items['admin/settings/tools/cron/list'] = array(
30      'title' => 'List',      'title' => 'List',
# Line 36  function cron_menu() { Line 36  function cron_menu() {
36      'description' => 'Administer all your crons from one drupal',      'description' => 'Administer all your crons from one drupal',
37      'page callback' => 'drupal_get_form',      'page callback' => 'drupal_get_form',
38      'page arguments' => array('cron_add_form'),      'page arguments' => array('cron_add_form'),
39      'access arguments' => array('authenticated user'),      'access arguments' => array('admin tools'),
40      'weight' => 2,      'weight' => 2,
41      'type' => MENU_LOCAL_TASK      'type' => MENU_LOCAL_TASK
42    );    );
# Line 45  function cron_menu() { Line 45  function cron_menu() {
45      'description' => 'Administer all your crons from one drupal',      'description' => 'Administer all your crons from one drupal',
46      'page callback' => 'drupal_get_form',      'page callback' => 'drupal_get_form',
47      'page arguments' => array('cron_edit_form', 5),      'page arguments' => array('cron_edit_form', 5),
48      'access arguments' => array('authenticated user'),      'access arguments' => array('admin tools'),
49      'type' => MENU_CALLBACK      'type' => MENU_CALLBACK
50    );    );
51    $items['admin/settings/tools/cron/delete/%'] = array(    $items['admin/settings/tools/cron/delete/%'] = array(
# Line 53  function cron_menu() { Line 53  function cron_menu() {
53      'description' => 'Administer all your crons from one drupal',      'description' => 'Administer all your crons from one drupal',
54      'page callback' => 'cron_delete',      'page callback' => 'cron_delete',
55      'page arguments' => array(5),      'page arguments' => array(5),
56      'access arguments' => array('authenticated user'),      'access arguments' => array('admin tools'),
57      'type' => MENU_CALLBACK      'type' => MENU_CALLBACK
58    );    );
59    return $items;    return $items;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2