mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
added support for 0 based sequential ids to our object db.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace NzbDrone.Core.RootFolders
|
||||
{
|
||||
List<RootFolder> All();
|
||||
RootFolder Add(RootFolder rootDir);
|
||||
void Remove(long rootDirId);
|
||||
void Remove(int rootDirId);
|
||||
List<String> GetUnmappedFolders(string path);
|
||||
Dictionary<string, ulong> FreeSpaceOnDrives();
|
||||
}
|
||||
@@ -63,7 +63,7 @@ namespace NzbDrone.Core.RootFolders
|
||||
return rootFolder;
|
||||
}
|
||||
|
||||
public virtual void Remove(long rootDirId)
|
||||
public virtual void Remove(int rootDirId)
|
||||
{
|
||||
_rootFolderRepository.Delete(rootDirId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user