[mono/monodevelop] e62279dd: Remove the BUILD_REVISION check and the ENABLE_RAYGUN constant.

"Cody Russell ([email protected])" <[email protected]> Fri, 15 Nov 2013 19:00:44 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001425d2301f8-068b75f4-3ff0-412c-96fb-219b77f2b3ee-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/bf5b9dce91a3...e62279dd33c0

   Commit: e62279dd33c0e44a55f5048d5fc7c0202465b462
   Author: Cody Russell <[email protected]> (bratsche)
     Date: 2013-11-15 18:59:29 GMT
      URL: https://github.com/mono/monodevelop/commit/e62279dd33c0e44a55f5048d5fc7c0202465b462

Remove the BUILD_REVISION check and the ENABLE_RAYGUN constant.

Changed paths:
  M main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj
  M main/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs

Modified: main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj
===================================================================
@@ -12,9 +12,6 @@
     <BuildInfo>..\..\..\build\bin\buildinfo</BuildInfo>
     <VcRevision>..\..\..\vcrevision</VcRevision>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(BUILD_REVISION)' != ''">
-      <DefineConstants>$(DefineConstants);ENABLE_RAYGUN</DefineConstants>
-  </PropertyGroup>
   <Choose>
     <When Condition=" Exists('c:\Program Files\Git\bin\git.exe') ">
       <PropertyGroup>

Modified: main/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs
===================================================================
@@ -101,12 +101,10 @@ static LoggingService ()
 
 			timestamp = DateTime.Now;
 
-#if ENABLE_RAYGUN
 			string raygunKey = BrandingService.GetString ("RaygunApiKey");
 			if (raygunKey != null) {
 				raygunClient = new RaygunClient (raygunKey);
 			}
-#endif
 
 			//remove the default trace listener on .NET, it throws up horrible dialog boxes for asserts
 			System.Diagnostics.Debug.Listeners.Clear ();


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches