Remove BlackBerry customizations

This commit is contained in:
2012-12-07 14:30:36 -05:00
parent 3272dd7975
commit 082edc214c
7 changed files with 9 additions and 80 deletions
-7
View File
@@ -4,7 +4,6 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Web;
using System.Web.Mvc;
namespace MileageTraker.Web.Utility
@@ -136,12 +135,6 @@ namespace MileageTraker.Web.Utility
sb.Append(" ago");
return sb.ToString();
}
public static bool IsBlackBerry(this HttpRequestBase request)
{
//return true;
return request.UserAgent != null && request.UserAgent.Contains("BlackBerry");
}
public static bool IsCollection(this Type type)
{