Skip to content
This repository was archived by the owner on Dec 13, 2021. It is now read-only.

Commit e6d6d69

Browse files
committed
Censor email example email addresses
1 parent c0edf02 commit e6d6d69

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

example_post_receive.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// two ways to address the email
44
// option 1) manually set the list
5-
$email_to = "dgu@cs.stanford.edu";
5+
$email_to = "example@example.org";
66

77
// option 2) use the list maintainer so people can sign-up for the list (and
88
// leave) on their own (recommended)
@@ -25,7 +25,7 @@
2525
"forks": 2,
2626
"private": 1,
2727
"owner": {
28-
"email": "chris@ozmm.org",
28+
"email": "",
2929
"name": "defunkt"
3030
}
3131
},
@@ -34,7 +34,7 @@
3434
"id": "41a212ee83ca127e3c8cf465891ab7216a705f59",
3535
"url": "http://github.com/defunkt/github/commit/41a212ee83ca127e3c8cf465891ab7216a705f59",
3636
"author": {
37-
"email": "chris@ozmm.org",
37+
"email": "",
3838
"name": "Chris Wanstrath"
3939
},
4040
"message": "okay i give in",
@@ -45,7 +45,7 @@
4545
"id": "de8251ff97ee194a289832576287d6f8ad74e3d0",
4646
"url": "http://github.com/defunkt/github/commit/de8251ff97ee194a289832576287d6f8ad74e3d0",
4747
"author": {
48-
"email": "chris@ozmm.org",
48+
"email": "",
4949
"name": "Chris Wanstrath"
5050
},
5151
"message": "update pricing a tad",

github_post_receive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
define('SEND_HTML_EMAIL', false);
1010
define('SEND_DIFF', true);
1111

12-
define('EMAIL_FROM', 'noreply@yuba.stanford.edu');
12+
define('EMAIL_FROM', 'noreply@example.com');
1313

1414
// some constants for HTML tags
1515
define('HTML_HEADER', SEND_HTML_EMAIL ? '<html><body>' : '');

0 commit comments

Comments
 (0)