Skip to content

Commit

Permalink
とりあえず対応
Browse files Browse the repository at this point in the history
  • Loading branch information
nekokak committed Feb 10, 2010
1 parent da11086 commit 14e129e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Kamui/Plugin/Session/State/MobileAttributeID.pm
Expand Up @@ -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 '';
}
}

Expand Down
17 changes: 17 additions & 0 deletions lib/Kamui/Plugin/Session/State/Null.pm
@@ -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.