mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Don't store IP addresses in content sources
Summary: We don't use these for anything, we're inconsistent about recording them, and there's some mild interaction with privacy concerns and data retention. Every other log we store any kind of information in can be given a custom retention policy after recent GC changes. If we did put this back eventually it would probably be better to store a session identifier anyway, since that's more granular and more detailed. You can fetch this info out of access logs anyway, too. Test Plan: Left a couple of comments. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D14315
This commit is contained in:
parent
5b619862cb
commit
4afeebe834
1 changed files with 1 additions and 3 deletions
|
@ -54,9 +54,7 @@ final class PhabricatorContentSource extends Phobject {
|
|||
public static function newFromRequest(AphrontRequest $request) {
|
||||
return self::newForSource(
|
||||
self::SOURCE_WEB,
|
||||
array(
|
||||
'ip' => $request->getRemoteAddr(),
|
||||
));
|
||||
array());
|
||||
}
|
||||
|
||||
public static function newFromConduitRequest(ConduitAPIRequest $request) {
|
||||
|
|
Loading…
Reference in a new issue