Changeset 33281 for lang/perl/Chaostr
- Timestamp:
- 05/13/09 16:40:57 (3 years ago)
- Location:
- lang/perl/Chaostr/trunk/lib/Chaostr
- Files:
-
- 3 added
- 2 modified
-
Class/DateTime.pm (added)
-
Class/Mailable.pm (added)
-
Class/OneTimeSession.pm (added)
-
Service.pm (modified) (2 diffs)
-
Service/Test.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Chaostr/trunk/lib/Chaostr/Service.pm
r33278 r33281 3 3 use Chaostr::Class; 4 4 5 use Chaostr::Config;6 use Chaostr::DB;7 use Chaostr::Log;8 use Chaostr::Service::PluginLoader;9 5 use Data::Dumper; 10 6 use FormValidator::LazyWay; … … 14 10 with 'Chaostr::Class::Loggable'; 15 11 with 'Chaostr::Class::Validatable'; 16 17 # with 'Chaostr::Service::Mixin::Mail'; 18 # with 'Chaostr::Service::Mixin::OneTimeSession'; 19 # with 'Chaostr::Service::Mixin::DateTime'; 12 with 'Chaostr::Class::Mailable'; 13 with 'Chaostr::Class::DateTime'; 14 with 'Chaostr::Class::OneTimeSession'; 20 15 21 16 has request => ( is => 'rw' ); -
lang/perl/Chaostr/trunk/lib/Chaostr/Service/Test.pm
r33074 r33281 8 8 my ( $self, $content ) = @_; 9 9 10 return $self-> onetimesession->save($content);10 return $self->save_ontime_session($content); 11 11 } 12 12 … … 14 14 my ( $self, $token ) = @_; 15 15 16 return $self-> onetimesession->load($token);16 return $self->load_ontime_session($token); 17 17 } 18 18 … … 20 20 my ( $self, $token ) = @_; 21 21 22 return $self-> onetimesession->remove($token);22 return $self->remove_ontime_session($token); 23 23 } 24 24
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)