mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Removed unused method
--HG-- branch : dev
This commit is contained in:
parent
feb3f67020
commit
8db3a546d2
@ -33,10 +33,6 @@ namespace Orchard.Tests.Stubs {
|
||||
return new Token {IsCurrent = true};
|
||||
}
|
||||
|
||||
public void WhenPathChanges(string path, Action action) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public class Token : IVolatileToken {
|
||||
public bool IsCurrent { get; set; }
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Orchard.Caching;
|
||||
|
||||
@ -15,6 +14,5 @@ namespace Orchard.FileSystems.WebSite {
|
||||
void CopyFileTo(string virtualPath, Stream destination);
|
||||
|
||||
IVolatileToken WhenPathChanges(string virtualPath);
|
||||
void WhenPathChanges(string virtualPath, Action action);
|
||||
}
|
||||
}
|
@ -51,10 +51,6 @@ namespace Orchard.FileSystems.WebSite {
|
||||
return _virtualPathMonitor.WhenPathChanges(virtualPath);
|
||||
}
|
||||
|
||||
public void WhenPathChanges(string virtualPath, Action action) {
|
||||
_virtualPathMonitor.WhenPathChanges(virtualPath, action);
|
||||
}
|
||||
|
||||
static string Normalize(string virtualPath) {
|
||||
return HostingEnvironment.VirtualPathProvider.GetFile(virtualPath).VirtualPath;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user