Remove BlackBerry customizations
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user