[Jifty-commit] r7274 - jifty/trunk/lib/Jifty/Plugin

Jifty commits jifty-commit at lists.jifty.org
Tue Jun 16 20:12:13 EDT 2009


Author: sartak
Date: Tue Jun 16 20:12:12 2009
New Revision: 7274

Modified:
   jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm

Log:
Add an "add_steps" option to config for the common case

Modified: jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm	Tue Jun 16 20:12:12 2009
@@ -43,6 +43,10 @@
             },
         ]);
     }
+
+    for my $step (@{ $opt{add_steps} || [] }) {
+        $self->add_step(%$step);
+    }
 }
 
 sub add_step {


More information about the Jifty-commit mailing list