Changeset 9297
- Timestamp:
- 04/11/08 14:35:48 (5 years ago)
- Location:
- lang/perl/HTTP-MobileAttribute/trunk
- Files:
-
- 1 added
- 1 modified
-
lib/HTTP/MobileAttribute/Plugin/ID.pm (modified) (2 diffs)
-
t/Plugins/ID-is_supported_id.t (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-MobileAttribute/trunk/lib/HTTP/MobileAttribute/Plugin/ID.pm
r9284 r9297 3 3 use warnings; 4 4 use base qw/HTTP::MobileAttribute::Plugin/; 5 6 __PACKAGE__->depends([qw/IS IS::ThirdForce/]); 5 7 6 8 sub thirdforce :CarrierMethod('ThirdForce', 'id') { … … 36 38 my ($self, $c) = @_; 37 39 $c->request->get('x-dcmguid'); 40 } 41 42 sub is_supported_id :Method { 43 my ($self, $c) = @_; 44 45 return ( $c->is_ezweb || ($c->is_thirdforce && !$c->is_type_c) || $c->is_docomo ) ? 1 : 0; 38 46 } 39 47
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)