Skip to content

Commit 5fc0153

Browse files
committed
Removed unused variable
1 parent 907f0b2 commit 5fc0153

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

functions/Set-PSDCConfiguration.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@
107107
}
108108
}
109109

110-
# Get the databases from the instance
111-
#$databases = Get-DbaDatabase -SqlInstance $SqlInstance -SqlCredential $SqlCredential
112-
113110
# Check if the database exists
114111
if ($server.Databases.Name -notcontains $Database) {
115112

@@ -159,8 +156,6 @@
159156
Write-PSFMessage -Message "Database already contains objects" -Level Verbose
160157
}
161158

162-
163-
164159
# Writing the setting to the configuration file
165160
Write-PSFMessage -Message "Registering config values" -Level Verbose
166161
Set-PSFConfig -Module PSDatabaseClone -Name database.server -Value $SqlInstance -Initialize -Validation string

0 commit comments

Comments
 (0)