/[drupal]/contributions/modules/delete_all/delete_all.module
ViewVC logotype

Diff of /contributions/modules/delete_all/delete_all.module

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

revision 1.1.2.8, Tue Mar 4 18:23:43 2008 UTC revision 1.1.2.9, Tue May 27 22:16:07 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: delete_all.module,v 1.1.2.8 2008/03/04 18:23:43 douggreen Exp $
3    
4  function delete_all_menu($maycache) {  function delete_all_menu($maycache) {
5    $items = array();    $items = array();
# Line 10  function delete_all_menu($maycache) { Line 10  function delete_all_menu($maycache) {
10      'description'        => t('Delete all nodes and comments on this site. This is useful for development sites, or prior to launching the site. Otherwise it destroys all data on a site.'),      'description'        => t('Delete all nodes and comments on this site. This is useful for development sites, or prior to launching the site. Otherwise it destroys all data on a site.'),
11      'callback'           => 'drupal_get_form',      'callback'           => 'drupal_get_form',
12      'callback arguments' => array('delete_all_content'),      'callback arguments' => array('delete_all_content'),
13      'access'             => user_access('administer content'),      'access'             => user_access('administer nodes'),
14      'type'               => MENU_NORMAL_ITEM);      'type'               => MENU_NORMAL_ITEM);
15    
16    $items[] = array(    $items[] = array(

Legend:
Removed from v.1.1.2.8  
changed lines
  Added in v.1.1.2.9

  ViewVC Help
Powered by ViewVC 1.1.2