1
0
Fork 0
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:
epriestley 2015-10-21 12:37:37 -07:00
parent 5b619862cb
commit 4afeebe834

View file

@ -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) {