removed sqo.

This commit is contained in:
kay.one 2013-03-23 21:16:00 -07:00
parent 7717e32729
commit 1a4f3fad25
64 changed files with 292 additions and 1323 deletions

View file

@ -1,4 +1,4 @@
using System.Linq;
using System.Data;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.ExternalNotification
@ -10,14 +10,14 @@ namespace NzbDrone.Core.ExternalNotification
public class ExternalNotificationRepository : BasicRepository<ExternalNotificationDefinition>, IExternalNotificationRepository
{
public ExternalNotificationRepository(IObjectDatabase objectDatabase)
: base(objectDatabase)
public ExternalNotificationRepository(IDbConnection database)
: base(database)
{
}
public ExternalNotificationDefinition Get(string name)
{
return Queryable.SingleOrDefault(c => c.Name.ToLower() == name.ToLower());
return SingleOrDefault(c => c.Name.ToLower() == name.ToLower());
}
}
}