mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed sqo.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using NzbDrone.Core.Datastore;
|
||||
|
||||
@@ -11,15 +12,15 @@ namespace NzbDrone.Core.Configuration
|
||||
|
||||
public class ConfigRepository : BasicRepository<Config>, IConfigRepository
|
||||
{
|
||||
public ConfigRepository(IObjectDatabase objectDatabase)
|
||||
: base(objectDatabase)
|
||||
public ConfigRepository(IDbConnection database)
|
||||
: base(database)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public Config Get(string key)
|
||||
{
|
||||
return Queryable.SingleOrDefault(c => c.Key == key);
|
||||
return SingleOrDefault(c => c.Key == key);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user