/[Arh]/lib/Arh/Bootstrap.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /lib/Arh/Bootstrap.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Thu Nov 29 11:20:24 2007 UTC (16 years, 4 months ago) by dpavlin
File size: 434 byte(s)
added bunch of models and script to resize tif pictures
1 use warnings;
2 use strict;
3
4 package Arh::Bootstrap;
5 use base qw(Jifty::Bootstrap);
6
7 =head1 Bootstrap application data
8
9 Create initial data
10
11 =cut
12
13 sub run {
14 my $self = shift;
15
16 my $system_user = Arh::CurrentUser->superuser( _bootstrap => 1 );
17
18 my $pt = Arh::Model::PictureType->new(current_user => $system_user);
19
20 $pt->create( name => $_ ) foreach ( qw/
21 tlocrt
22 slika
23 rekonstrukcija
24 aksiometrija
25 arhitektura
26 namjeĀ¹taj
27 / );
28
29 }
30
31 1;

  ViewVC Help
Powered by ViewVC 1.1.26