Skip to content

Commit

Permalink
🔥 Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacedopv committed Jan 24, 2023
1 parent e8b2e98 commit 11cab8a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions assets/dynamicAssetTypeConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@ package assets
// dynamicAssetTypeConfig is the configuration data for the Dynamic assetTypes feature
var dynamicAssetTypeConfig = DynamicAssetType{}

// DynamicAssetTypeConfig returns a copy of the DynamicAssetType variable.
func DynamicAssetTypeConfig() DynamicAssetType {
configCopy := DynamicAssetType{
Enabled: dynamicAssetTypeConfig.Enabled,
AssetAdmins: dynamicAssetTypeConfig.AssetAdmins,
}
return configCopy
}

// InitDynamicAssetTypeConfig initilizes the dynamicAssetTypeConfig variable
func InitDynamicAssetTypeConfig(c DynamicAssetType) {
dynamicAssetTypeConfig = c
Expand Down

0 comments on commit 11cab8a

Please sign in to comment.