Removed user types and migrated them to groups. Returned to compiling state.
This commit is contained in:
@@ -41,25 +41,6 @@ namespace Umbraco.Web.Cache
|
||||
|
||||
#endregion
|
||||
|
||||
#region User type cache
|
||||
|
||||
public static void RemoveUserTypeCache(this DistributedCache dc, int userTypeId)
|
||||
{
|
||||
dc.Remove(DistributedCache.UserTypeCacheRefresherGuid, userTypeId);
|
||||
}
|
||||
|
||||
public static void RefreshUserTypeCache(this DistributedCache dc, int userTypeId)
|
||||
{
|
||||
dc.Refresh(DistributedCache.UserTypeCacheRefresherGuid, userTypeId);
|
||||
}
|
||||
|
||||
public static void RefreshAllUserTypeCache(this DistributedCache dc)
|
||||
{
|
||||
dc.RefreshAll(DistributedCache.UserTypeCacheRefresherGuid);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region User cache
|
||||
|
||||
public static void RemoveUserCache(this DistributedCache dc, int userId)
|
||||
@@ -75,7 +56,26 @@ namespace Umbraco.Web.Cache
|
||||
public static void RefreshAllUserCache(this DistributedCache dc)
|
||||
{
|
||||
dc.RefreshAll(DistributedCache.UserCacheRefresherGuid);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region User group cache
|
||||
|
||||
public static void RemoveUserGroupCache(this DistributedCache dc, int userId)
|
||||
{
|
||||
dc.Remove(DistributedCache.UserGroupCacheRefresherGuid, userId);
|
||||
}
|
||||
|
||||
public static void RefreshUserGroupCache(this DistributedCache dc, int userId)
|
||||
{
|
||||
dc.Refresh(DistributedCache.UserGroupCacheRefresherGuid, userId);
|
||||
}
|
||||
|
||||
public static void RefreshAllUserGroupCache(this DistributedCache dc)
|
||||
{
|
||||
dc.RefreshAll(DistributedCache.UserGroupCacheRefresherGuid);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user