[Catalyst-commits] r12974 - Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial

xenoterracide at dev.catalyst.perl.org xenoterracide at dev.catalyst.perl.org
Mon Feb 22 08:12:55 GMT 2010


Author: xenoterracide
Date: 2010-02-22 08:12:55 +0000 (Mon, 22 Feb 2010)
New Revision: 12974

Modified:
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
Log:
remove unessessary extraneous code

you don't have to reproduce all attributes for a column just to add more,
removing code that would otherwise be duplicated.

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod	2010-02-22 05:08:41 UTC (rev 12973)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod	2010-02-22 08:12:55 UTC (rev 12974)
@@ -650,8 +650,6 @@
     # with hex encoding; Generate the 'check_password" method
     __PACKAGE__->add_columns(
         'password' => {
-            data_type           => "TEXT",
-            size                => undef,
             encode_column       => 1,
             encode_class        => 'Digest',
             encode_args         => {salt_length => 10},




More information about the Catalyst-commits mailing list