mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -2,7 +2,6 @@ using System.Linq;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using NzbDrone.Core.Messaging.Events;
|
||||
|
||||
|
||||
namespace NzbDrone.Core.Configuration
|
||||
{
|
||||
public interface IConfigRepository : IBasicRepository<Config>
|
||||
@@ -18,7 +17,6 @@ namespace NzbDrone.Core.Configuration
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public Config Get(string key)
|
||||
{
|
||||
return Query.Where(c => c.Key == key).SingleOrDefault();
|
||||
@@ -30,7 +28,7 @@ namespace NzbDrone.Core.Configuration
|
||||
|
||||
if (dbValue == null)
|
||||
{
|
||||
return Insert(new Config {Key = key, Value = value});
|
||||
return Insert(new Config { Key = key, Value = value });
|
||||
}
|
||||
|
||||
dbValue.Value = value;
|
||||
|
||||
Reference in New Issue
Block a user