Quantcast
Viewing all articles
Browse latest Browse all 2279

Edited Issue: Duplicate code [20435]

in multiple places this line of code is repeated...


```
############Duplicate code################
If ([string]::IsNullOrEmpty($dbServer))
{
$dbServer = $xmlinput.Configuration.Farm.Database.DBServer
}
#######################################

$serviceDB = $dbPrefix+$serviceConfig.Database.Name
$dbServer = $serviceConfig.Database.DBServer
# If we haven't specified a DB Server then just use the default used by the Farm
If ([string]::IsNullOrEmpty($dbServer))
{
$dbServer = $xmlinput.Configuration.Farm.Database.DBServer
}
```

Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>