i forgot another m
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
ddb3069c27
commit
ad3ab8219e
|
@ -52,7 +52,7 @@
|
|||
file_put_contents("/var/spool/list", $email . PHP_EOL, FILE_APPEND);
|
||||
} else {
|
||||
$contents = file_get_contents("/var/spool/list");
|
||||
$contents = preg_replace("/^" . preg_quote($email) . "$/", '', $contents);
|
||||
$contents = preg_replace("/^" . preg_quote($email) . "$/m", '', $contents);
|
||||
$contents = preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $contents);
|
||||
file_put_contents("/var/spool/list", $contents);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue