Ignore:
Timestamp:
Jul 11, 2007, 12:00:36 AM (17 years ago)
Author:
rvelices
Message:

merge r2061 from branch 1.7 to trunk
feature 719 : Split purge history link into Purge summary and Purge details.

  • add a confirmation box when purging history
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/maintenance.php

    r1987 r2062  
    6060    break;
    6161  }
    62   case 'history' :
     62  case 'history_detail' :
     63  {
     64    $query = '
     65DELETE
     66  FROM '.HISTORY_TABLE.'
     67;';
     68    pwg_query($query);
     69    break;
     70  }
     71  case 'history_summary' :
    6372  {
    6473    $query = '
    6574DELETE
    6675  FROM '.HISTORY_SUMMARY_TABLE.'
    67 ;';
    68     pwg_query($query);
    69     $query = '
    70 DELETE
    71   FROM '.HISTORY_TABLE.'
    7276;';
    7377    pwg_query($query);
     
    112116    'U_MAINT_CATEGORIES' => $start_url.'categories',
    113117    'U_MAINT_IMAGES' => $start_url.'images',
    114     'U_MAINT_HISTORY' => $start_url.'history',
     118    'U_MAINT_HISTORY_DETAIL' => $start_url.'history_detail',
     119    'U_MAINT_HISTORY_SUMMARY' => $start_url.'history_summary',
    115120    'U_MAINT_SESSIONS' => $start_url.'sessions',
    116121    'U_MAINT_FEEDS' => $start_url.'feeds',
Note: See TracChangeset for help on using the changeset viewer.