[Catalyst-commits] r7816 - in
trunk/Catalyst-Plugin-Authentication-Store-DBIC: .
lib/Catalyst/Plugin/Authentication/Store
ash at dev.catalyst.perl.org
ash at dev.catalyst.perl.org
Tue May 27 12:52:44 BST 2008
Author: ash
Date: 2008-05-27 12:52:44 +0100 (Tue, 27 May 2008)
New Revision: 7816
Modified:
trunk/Catalyst-Plugin-Authentication-Store-DBIC/Changes
trunk/Catalyst-Plugin-Authentication-Store-DBIC/lib/Catalyst/Plugin/Authentication/Store/DBIC.pm
Log:
Add deprecation notice
Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIC/Changes
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Store-DBIC/Changes 2008-05-27 10:51:03 UTC (rev 7815)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIC/Changes 2008-05-27 11:52:44 UTC (rev 7816)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Plugin::Authentication::Store::DBIC
+ - Add deprecation notice in favour of
+ Catalyst::Plugin::Authentication::Store::DBIx::Class
+
0.09 2007-09-13
- remove old DBIC class data tests
- force DBIx::Class and Catalyst::Model::DBIC::Schema pre-reqs
Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIC/lib/Catalyst/Plugin/Authentication/Store/DBIC.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Store-DBIC/lib/Catalyst/Plugin/Authentication/Store/DBIC.pm 2008-05-27 10:51:03 UTC (rev 7815)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIC/lib/Catalyst/Plugin/Authentication/Store/DBIC.pm 2008-05-27 11:52:44 UTC (rev 7816)
@@ -11,6 +11,9 @@
sub setup {
my $c = shift;
+ $c->log->warn('Authentication::Store::DBIC is deprecated!')
+ unless $c->config->{authentication}{dbic}{no_deprecation_warning};
+
# default values
$c->config->{authentication}{dbic}{user_field} ||= 'user';
$c->config->{authentication}{dbic}{password_field} ||= 'password';
@@ -117,6 +120,12 @@
Catalyst::Plugin::Authentication::Store::DBIC - Authentication and authorization against a DBIx::Class or Class::DBI model.
+=head1 DEPRECATED
+
+This store has been deprecated in favour of
+L<Catalyst::Plugin::Authentication::Store::DBIx::Class>. Please do not use
+this plugin for new development.
+
=head1 SYNOPSIS
use Catalyst qw/
More information about the Catalyst-commits
mailing list