cache clearing by object type (fix)

This commit is contained in:
Stephan
2015-01-30 18:28:20 +01:00
parent 1d80fc66af
commit 6b0292db64
3 changed files with 10 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ namespace Umbraco.Core.Cache
public virtual void ClearCacheObjectTypes(string typeName)
{
var type = Type.GetType(typeName);
var type = TypeFinder.GetTypeByName(typeName);
if (type == null) return;
var isInterface = type.IsInterface;
using (new WriteLock(_locker))