some EloqueraDb cleanup

This commit is contained in:
Keivan Beigi
2013-02-12 17:25:32 -08:00
committed by kay.one
parent 1671fd1776
commit 5930a15d3a
6 changed files with 18 additions and 32 deletions

View File

@@ -22,8 +22,7 @@ namespace NzbDrone.Core.RootFolders
public RootFolder Add(RootFolder rootFolder)
{
rootFolder.Id = EloqueraDb.InsertAndGetId(rootFolder);
return rootFolder;
return EloqueraDb.Insert(rootFolder);
}
}
}