From 6017d0c28b9218ac078626901ba460fbb8e53634 Mon Sep 17 00:00:00 2001 From: Maxim Beder Date: Wed, 19 Oct 2022 15:49:54 +0200 Subject: [PATCH] refactor: remove unused MetadataOnlyEditingDescriptor --- xmodule/editing_module.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/xmodule/editing_module.py b/xmodule/editing_module.py index 3866130525..3b82cc8639 100644 --- a/xmodule/editing_module.py +++ b/xmodule/editing_module.py @@ -98,18 +98,6 @@ class TabsEditingDescriptor(TabsEditingMixin, MakoModuleDescriptor): # lint-amn pass # lint-amnesty, pylint: disable=unnecessary-pass -class MetadataOnlyEditingDescriptor(EditingDescriptor): # lint-amnesty, pylint: disable=abstract-method - """ - Module which only provides an editing interface for the metadata, it does - not expose a UI for editing the module data - """ - - js = {'js': [resource_string(__name__, 'js/src/raw/edit/metadata-only.js')]} - js_module_name = "MetadataOnlyEditingDescriptor" - - mako_template = "widgets/metadata-only-edit.html" - - class JSONEditingDescriptor(EditingDescriptor): # lint-amnesty, pylint: disable=abstract-method """ Module that provides a raw editing view of its data as XML. It does not perform