diff --git a/src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs b/src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs index 3a08361bd6..4937751043 100644 --- a/src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs +++ b/src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs @@ -28,18 +28,7 @@ namespace Umbraco.Core.Configuration _logger = logger; _fileName = IOHelper.MapPath(string.Format("{0}/ClientDependency.config", SystemDirectories.Config)); } - - /// - /// Changes the version number in ClientDependency.config to a hashed value for the version and the DateTime.Now - /// - /// Boolean to indicate succesful update of the ClientDependency.config file - /// - [Obsolete("Use the overload specifying the date and dateFormat")] - public bool UpdateVersionNumber() - { - return UpdateVersionNumber(UmbracoVersion.GetSemanticVersion(), DateTime.UtcNow, "yyyyMMdd"); - } - + /// /// Changes the version number in ClientDependency.config to a hashed value for the version and the DateTime.Day /// @@ -105,6 +94,8 @@ namespace Umbraco.Core.Configuration /// /// Changes the version number in ClientDependency.config to a random value to avoid stale caches /// + /// + [Obsolete("Use the UpdateVersionNumber method specifying the version, date and dateFormat instead")] public bool IncreaseVersionNumber() { try