From 9178e7afcf3914d8f5c8815e8c53f97fcde19d49 Mon Sep 17 00:00:00 2001 From: Sebastiaan Jansssen Date: Wed, 14 Feb 2018 12:13:01 +0100 Subject: [PATCH] Whoops, no need to introduce a new method here, old method was still available --- .../ClientDependencyConfiguration.cs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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