/[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

Diff of /lib/Arh/Bootstrap.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 40 by dpavlin, Sun Apr 6 11:12:58 2008 UTC revision 41 by dpavlin, Sun Apr 6 12:04:13 2008 UTC
# Line 88  namjeÅ¡taj Line 88  namjeÅ¡taj
88                  name => 'mjesto iskapanja',                  name => 'mjesto iskapanja',
89          );          );
90    
 =for later  
91    
92          my $campaign = Arh::Model::Campaign->new(current_user => $system_user);          my $campaign = Arh::Model::Campaign->new(current_user => $system_user);
93          $campaign->create(          $campaign->create(
# Line 98  namjeÅ¡taj Line 97  namjeÅ¡taj
97                  date_to => '2008-03-15',                  date_to => '2008-03-15',
98          );          );
99    
100    =for later
101          my $unit = Arh::Model::Unit->new(current_user => $system_user);          my $unit = Arh::Model::Unit->new(current_user => $system_user);
102          $unit->create(          $unit->create(
103                  name => 'Mali kapitel stupića mnolitnog oltara',                  name => 'Mali kapitel stupića mnolitnog oltara',
# Line 138  namjeÅ¡taj Line 138  namjeÅ¡taj
138          my $cat = Arh::Model::Category->new;          my $cat = Arh::Model::Category->new;
139          $cat->create( name => $_ ) foreach ( qw/arhitektura skulptura slikarstvo liturgijske instalacije epigrafija metal/ );          $cat->create( name => $_ ) foreach ( qw/arhitektura skulptura slikarstvo liturgijske instalacije epigrafija metal/ );
140    
141          my $cat = Arh::Model::Site->new;          my $site = Arh::Model::Site->new;
142          $cat->create( name => $_ ) foreach ( qw/Poreè Zagreb Sisak/ );          $site->create( name => $_ ) foreach ( qw/Poreè Zagreb Sisak/ );
143  }  }
144    
145  1;  1;

Legend:
Removed from v.40  
changed lines
  Added in v.41

  ViewVC Help
Powered by ViewVC 1.1.26