projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove Class::Data::Inheritable and use CAG 'inherited' style accessors
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
CDBICompat
/
ReadOnly.pm
diff --git
a/lib/DBIx/Class/CDBICompat/ReadOnly.pm
b/lib/DBIx/Class/CDBICompat/ReadOnly.pm
index
669a76d
..
9bab1f4
100644
(file)
--- a/
lib/DBIx/Class/CDBICompat/ReadOnly.pm
+++ b/
lib/DBIx/Class/CDBICompat/ReadOnly.pm
@@
-4,6
+4,8
@@
package # hide from PAUSE
use strict;
use warnings;
+use base 'DBIx::Class';
+
sub make_read_only {
my $proto = shift;
$proto->add_trigger("before_$_" => sub { shift->throw_exception("$proto is read only") })