|
|
@ -167,10 +167,7 @@ namespace NzbDrone.Web.Controllers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//Todo: Only allow indexers to be enabled if user information has been provided
|
|
|
|
//Todo: Only allow indexers to be enabled if user information has been provided
|
|
|
|
foreach (var indexer in data.Indexers)
|
|
|
|
foreach (var indexer in data.Indexers)
|
|
|
|
{
|
|
|
|
|
|
|
|
indexer.ApiUrl = String.Empty; //TODO: Remove this and use a Real API URL
|
|
|
|
|
|
|
|
_indexerProvider.Update(indexer);
|
|
|
|
_indexerProvider.Update(indexer);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_configProvider.SetValue("NzbMatrixUsername", data.NzbMatrixUsername);
|
|
|
|
_configProvider.SetValue("NzbMatrixUsername", data.NzbMatrixUsername);
|
|
|
|
_configProvider.SetValue("NzbMatrixApiKey", data.NzbMatrixApiKey);
|
|
|
|
_configProvider.SetValue("NzbMatrixApiKey", data.NzbMatrixApiKey);
|
|
|
|