refactor: replace usages of XModuleMixin.system with XBlock.runtime

This commit is contained in:
0x29a
2023-01-09 11:44:24 +01:00
committed by Agrendalath
parent fd191db332
commit 3a1011bed8
24 changed files with 47 additions and 47 deletions

View File

@@ -111,7 +111,7 @@ def apply_wrappers_to_content(content, block, request):
Returns: A piece of html content containing the original content updated by each wrapper.
"""
content = block.system.service(block, "replace_urls").replace_urls(content)
content = block.runtime.service(block, "replace_urls").replace_urls(content)
return make_static_urls_absolute(request, content)