Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/4299799967f31335a6e59d526d22cbd9d2d81587
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
9 deletions
@ -18,17 +18,16 @@ namespace NzbDrone.Core.Housekeeping.Housekeepers
public void Clean ( )
{
using ( var mapper = _database . OpenConnection ( ) )
{
var usedTags = new [ ] { "Movies" , "Notifications" , "DelayProfiles" , "Restrictions" , "ImportLists" , "Indexers" }
. SelectMany ( v = > GetUsedTags ( v , mapper ) )
. Distinct ( )
. ToList ( ) ;
var mapper = _database . OpenConnection ( ) ;
var usedTagsList = usedTags . Select ( d = > d . ToString ( ) ) . Join ( "," ) ;
var usedTags = new [ ] { "Movies" , "Notifications" , "DelayProfiles" , "Restrictions" , "ImportLists" , "Indexers" }
. SelectMany ( v = > GetUsedTags ( v , mapper ) )
. Distinct ( )
. ToList ( ) ;
var usedTagsList = usedTags . Select ( d = > d . ToString ( ) ) . Join ( "," ) ;
mapper . Execute ( $"DELETE FROM Tags WHERE NOT Id IN ({usedTagsList})" ) ;
}
mapper . Execute ( $"DELETE FROM Tags WHERE NOT Id IN ({usedTagsList})" ) ;
}
private int [ ] GetUsedTags ( string table , IDbConnection mapper )