Show
Ignore:
Timestamp:
04/25/08 00:47:39 (7 months ago)
Author:
anarcat
Message:

really fix list deletion

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-mailman/trunk/bureau/class/m_mailman.php

    r2208 r2227  
    207207    $login=$db->f("list"); 
    208208    $domain=$db->f("domain"); 
    209     exec("/usr/lib/alternc/mailman.delete ".escapeshellarg($db->f("name").'@'.$domain), &$output, &$return); 
     209    exec("/usr/lib/alternc/mailman.delete ".escapeshellarg($login.'@'.$domain), &$output, &$return); 
    210210    if ($return) { 
    211211      $err->raise("mailman", "failed to delete mailman list. error: %d, output: %s", $return, join("\n", $output)); 
  • alternc-mailman/trunk/src/mailman.delete

    r2226 r2227  
    2424$( = $); 
    2525 
    26 if (!($listname =~ /^([a-z0-9\._-]+)\@[a-z0-9\.-]+$/)) { 
     26if (!($listname =~ /^([a-z0-9\._-]+\@[a-z0-9\.-]+)$/)) { 
    2727    die "List name is incorrect."; 
    2828}