示例#1
0
 public void ClearCache(string authenticationCookie)
 {
     try
     {
         ServiceUtils.Authorize(authenticationCookie, PermissionsTable.Instance.CanDeleteCache);
         AddinsFactory.RefreshTimeStamp();
         var storage = AddinsFactory.CacheDiskStorage;
         if (null != storage)
         {
             storage.RunCleanup(null);
         }
     }
     catch { }
 }