File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
worker/src/handlers/batchStatementDeletion Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { SITE_SETTINGS_ID } from 'lib/constants/siteSettings';
11
11
import SiteSettings from 'lib/models/siteSettings' ;
12
12
import Client from 'lib/models/client' ;
13
13
import getScopeFilter from 'lib/services/auth/filters/getScopeFilter' ;
14
- import { updateStatementCountsInOrg } from 'lib/services/lrs' ;
15
14
16
15
const markDone = async ( batchDeleteId , jobDone ) => {
17
16
logger . debug ( `Removing job for BatchDelete ${ batchDeleteId } and marking as done` ) ;
@@ -135,10 +134,5 @@ export default async ({
135
134
} ) ;
136
135
}
137
136
138
- if ( done ) {
139
- const organisationId = batchDelete . organisation ;
140
- await updateStatementCountsInOrg ( organisationId ) ;
141
- }
142
-
143
137
jobDone ( ) ;
144
138
} ;
You can’t perform that action at this time.
0 commit comments