« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/sorting-rule
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/sorting-rule')
-rw-r--r--src/data/things/sorting-rule/SortingRule.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/data/things/sorting-rule/SortingRule.js b/src/data/things/sorting-rule/SortingRule.js
index 4ce9d97a..5d4bba99 100644
--- a/src/data/things/sorting-rule/SortingRule.js
+++ b/src/data/things/sorting-rule/SortingRule.js
@@ -1,5 +1,3 @@
-const SORTING_RULE_DATA_FILE = 'sorting-rules.yaml';
-
 import {V} from '#composite';
 import {unique} from '#sugar';
 import Thing from '#thing';
@@ -34,20 +32,6 @@ export class SortingRule extends Thing {
     },
   };
 
-  static [Thing.getYamlLoadingSpec] = ({
-    documentModes: {allInOne},
-    thingConstructors: {DocumentSortingRule},
-  }) => ({
-    title: `Process sorting rules file`,
-    file: SORTING_RULE_DATA_FILE,
-
-    documentMode: allInOne,
-    documentThing: document =>
-      (document['Sort Documents']
-        ? DocumentSortingRule
-        : null),
-  });
-
   check(opts) {
     return this.constructor.check(this, opts);
   }