View Issue Details

IDProjectCategoryView StatusLast Update
0017639phplist applicationBounce Managementpublic06-07-15 17:04
Reporterbst2002 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.0.10 
Target Version3.0.XFixed in Version3.2.0 
Summary0017639: Page bounces "View Bounces" Button "Delete/Delete All"
DescriptionIt is better to use "truncate" instead "delete from table" if u wish to delete all data.

In Script admin/bounces.php:
Line aprox: 50

change from:

    case "deleteprocessed":
      Sql_Query(sprintf('delete from %s where comment != "not processed" and `date` < date_sub(now(),in...
      break;
    case "deleteall":
      Sql_Query(sprintf('delete from %s',$tables["bounce"]));
      break;
    case "reset":
      Sql_Query(sprintf('update %s set bouncecount = 0',$tables["user"]));


TO:
    case "deleteprocessed":
      Sql_Query(sprintf('delete from %s where comment != "not processed" and `date` < date_sub(now(),in....
      break;
    case "deleteall":
      Sql_Query(sprintf('truncate %s',$tables["bounce"]));
      break;
    case "reset":
      Sql_Query(sprintf('update %s set bouncecount = 0',$tables["user"]));




TagsNo tags attached.

Activities

There are no notes attached to this issue.