[chronojump] Activating json on MacOSX again
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Activating json on MacOSX again
- Date: Mon, 23 Mar 2015 11:16:33 +0000 (UTC)
commit 5cf19fb0ab6a91d100d82e0bb98f9944e4ad14cb
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Mar 23 12:15:57 2015 +0100
Activating json on MacOSX again
src/json.cs | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/json.cs b/src/json.cs
index 7237ae0..8ae409b 100644
--- a/src/json.cs
+++ b/src/json.cs
@@ -41,13 +41,6 @@ public class Json
public bool PostCrashLog(string email, string comments)
{
- //not working on mac right now
- if(UtilAll.GetOSEnum() == UtilAll.OperatingSystems.MACOSX) {
- this.ResultMessage = "Sorry, deactivated in this version.";
- return false;
- }
-
-
string filePath = UtilAll.GetLogFileOld();
if(! File.Exists(filePath)) {
@@ -131,13 +124,6 @@ public class Json
public bool GetLastVersion()
{
- //not working on mac right now
- if(UtilAll.GetOSEnum() == UtilAll.OperatingSystems.MACOSX) {
- this.ResultMessage = "Sorry, deactivated in this version.";
- return false;
- }
-
-
// Create a request using a URL that can receive a post.
WebRequest request = WebRequest.Create (serverUrl + "/version");
@@ -170,13 +156,6 @@ public class Json
public bool Ping(string osVersion, string cjVersion, string machineID)
{
- //not working on mac right now
- if(UtilAll.GetOSEnum() == UtilAll.OperatingSystems.MACOSX) {
- this.ResultMessage = "Sorry, deactivated in this version.";
- return false;
- }
-
-
// Create a request using a URL that can receive a post.
WebRequest request = WebRequest.Create (serverUrl + "/ping");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]