Skip to content

Commit

Permalink
(GH-1059) Deprecate old config elements
Browse files Browse the repository at this point in the history
The top level config settings for chocolatey.config had a couple of
elements that were deprecated once configSettings section became
availalbe and settings could be set with the choco config command. Mark
those settings as deprecated and up for removal.
  • Loading branch information
ferventcoder committed Mar 10, 2017
1 parent bd15226 commit 5341578
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ namespace chocolatey.infrastructure.app.configuration
[XmlRoot("chocolatey")]
public class ConfigFileSettings
{
[Obsolete("This will be removed in v1 of Chocolatey")]
[XmlElement(ElementName = "cacheLocation")]
public string CacheLocation { get; set; }

[XmlElement(ElementName = "containsLegacyPackageInstalls")]
public bool ContainsLegacyPackageInstalls { get; set; }

[Obsolete("This will be removed in v1 of Chocolatey")]
[XmlElement(ElementName = "commandExecutionTimeoutSeconds")]
public int CommandExecutionTimeoutSeconds { get; set; }

Expand Down

0 comments on commit 5341578

Please sign in to comment.