Skip to content
Browse files

TISTUD-3271 - Pass the user GUID instead of UID

  • Loading branch information...
1 parent 39ae041 commit 807671100b54cdf920623d84662e0bcff210cf8f Shalom Gibly committed Feb 8, 2013
View
2 plugins/com.aptana.usage/src/com/aptana/usage/IAnalyticsUser.java
@@ -19,4 +19,6 @@
public String getUID();
public boolean isOnline();
+
+ public String getGUID();
}
View
2 plugins/com.aptana.usage/src/com/aptana/usage/StudioAnalytics.java
@@ -139,7 +139,7 @@ private int sendPing(AnalyticsEvent event, IAnalyticsUser user)
connection = (HttpURLConnection) url.openConnection();
if (user != null)
{
- connection.setRequestProperty("Cookie", user.getCookie() + "; uid=" + user.getUID()); //$NON-NLS-1$ //$NON-NLS-2$
+ connection.setRequestProperty("Cookie", user.getCookie() + "; uid=" + user.getGUID()); //$NON-NLS-1$ //$NON-NLS-2$
}
connection.setRequestProperty("User-Agent", AnalyticsEvent.getUserAgent()); //$NON-NLS-1$
connection.setDoOutput(true);

0 comments on commit 8076711

Please sign in to comment.
Something went wrong with that request. Please try again.