mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
Make user fields all provide the user.field service so that they can be easily recognised.
This commit is contained in:
parent
8c45554054
commit
3afbf82b63
@ -39,7 +39,9 @@ use PLIF::Service;
|
||||
sub provides {
|
||||
my $class = shift;
|
||||
my($service) = @_;
|
||||
return ($service eq 'user.field.'.$class->type or $class->SUPER::provides($service));
|
||||
return ($service eq 'user.field' or
|
||||
$service eq 'user.field.'.$class->type or
|
||||
$class->SUPER::provides($service));
|
||||
}
|
||||
|
||||
# the 'data' field of field descriptions means different things
|
||||
|
Loading…
x
Reference in New Issue
Block a user