diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-11-20 21:21:44 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-12-02 17:41:41 +0000 |
commit | 358faad2426a11573ec9597592076cc0ac43e5f7 (patch) | |
tree | 437d54dffb9442b6030ae7decfa9b495d97533b8 /perllib/FixMyStreet/DB/Result/Contact.pm | |
parent | 55412b79394ff1b1cabe368aed67fa8f68680ecc (diff) |
Move from Moose to Moo in non-App code.
And create default cobrand class without all of Moose.
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Contact.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Contact.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Contact.pm b/perllib/FixMyStreet/DB/Result/Contact.pm index 2fbb0716d..dab5432c6 100644 --- a/perllib/FixMyStreet/DB/Result/Contact.pm +++ b/perllib/FixMyStreet/DB/Result/Contact.pm @@ -63,12 +63,9 @@ __PACKAGE__->belongs_to( __PACKAGE__->load_components("+FixMyStreet::DB::RABXColumn"); __PACKAGE__->rabx_column('extra'); -use Moose; +use Moo; use namespace::clean -except => [ 'meta' ]; with 'FixMyStreet::Roles::Extra'; -# we need the inline_constructor bit as we don't inherit from Moose -__PACKAGE__->meta->make_immutable( inline_constructor => 0 ); - 1; |