Permalink
Browse files

とりあえず対応

  • Loading branch information...
1 parent da11086 commit 14e129e81830ce81d02dd15a7ac55b439d15b148 @nekokak committed Feb 10, 2010
Showing with 18 additions and 1 deletion.
  1. +1 −1 lib/Kamui/Plugin/Session/State/MobileAttributeID.pm
  2. +17 −0 lib/Kamui/Plugin/Session/State/Null.pm
@@ -33,7 +33,7 @@ sub get_session_id {
die "cannot detect mobile id from $ma";
}
} else {
- die "this carrier doesn't supports user_id: $ma";
+ return '';
}
}
@@ -0,0 +1,17 @@
+package Kamui::Plugin::Session::State::Null;
+use Kamui;
+use base 'Kamui::Plugin::Session::State';
+
+sub new {
+ my $class = shift;
+ bless +{ }, $class,
+}
+
+sub get_session_id {}
+sub generate_session_id { $_[0]->get_session_id }
+sub set_session_id {}
+sub remove_session_id {}
+sub finalize {}
+
+1;
+

0 comments on commit 14e129e

Please sign in to comment.