com web/php: Remove dead code: mailing-lists.php
| From: | Kalle Sommer Nielsen | Date: | Fri, 19 Apr 2019 11:30:02 +0000 |
| Subject: | com web/php: Remove dead code: mailing-lists.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27974@lists.php.net to get a copy of this message | ||
Commit: cdec537f81f3d17d1343450005b6ca21688a5ae0
Author: Kalle Sommer Nielsen <kalle@php.net> Fri, 19 Apr 2019 14:30:02 +0300
Parents: e341f5895e6ec79bddac668a5b4c85bc1d9da354
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=cdec537f81f3d17d1343450005b6ca21688a5ae0
Log:
Remove dead code
Changed paths:
M mailing-lists.php
Diff:
diff --git a/mailing-lists.php b/mailing-lists.php
index 7d6fbff..86f860f 100644
--- a/mailing-lists.php
+++ b/mailing-lists.php
@@ -62,7 +62,6 @@ if (isset($_POST['maillist'])) {
if ($request != "subscribe" && $request != "unsubscribe") {
$request = "subscribe";
}
- $sub = str_replace("@", "=", $_POST['email']);
$remote_addr = i2c_realip();
// Get in contact with master server to [un]subscribe the user