Remove the only use of the CAG 'inherited_ro_instance' group
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / AccessorGroup.pm
index d4493e2..31cdcb0 100644 (file)
@@ -63,6 +63,11 @@ sub mk_group_accessors {
       }
     }
   }
+  elsif( $type eq 'inherited_ro_instance' ) {
+    DBIx::Class::Exception->throw(
+      "The 'inherted_ro_instance' CAG group has been retired - use 'inherited' instead"
+    );
+  }
 }
 
 sub get_component_class {