From 26297ed05c122a0867a94f96a87b3bf58d1c52ee Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 7 Jul 2010 16:00:00 -0700 Subject: Fix some type constraint stuff. --- usr/src/libpiny/lib/Piny/User.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr/src/libpiny/lib/Piny/User.pm') diff --git a/usr/src/libpiny/lib/Piny/User.pm b/usr/src/libpiny/lib/Piny/User.pm index fb9a20f..f38c020 100644 --- a/usr/src/libpiny/lib/Piny/User.pm +++ b/usr/src/libpiny/lib/Piny/User.pm @@ -4,7 +4,7 @@ package Piny::User; use Moose; -use Moose::Util::TypeConstraints; +use Moose::Util::TypeConstraints qw( find_type_constraint ); use Piny::Email; use Piny::Group; @@ -17,8 +17,6 @@ subtype 'Username' => message { 'That username is not in the correct format for a piny user.' } ; -Moose::Util::TypeConstraints::export_type_constraints_as_functions; - # Attributes has 'uid' => -- cgit v1.2.3