ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/Configuration/ConfigArea.pm
(Generate patch)

Comparing COMP/SCRAM/src/Configuration/ConfigArea.pm (file contents):
Revision 1.1 by williamc, Thu Jan 20 18:21:54 2000 UTC vs.
Revision 1.2 by williamc, Thu Jan 20 19:05:47 2000 UTC

# Line 62 | Line 62 | sub setup {
62  
63          # make a new store handler
64          my $parentconfig=$self->config;
65 <        $self->config(Configuration::ConfigureStore);
65 >        $self->config(Configuration::ConfigureStore->new());
66          $self->config()->db("local",$ad);
67          $self->config()->db("parent",$parentconfig);
68          $self->config()->policy("cache","local");
# Line 70 | Line 70 | sub setup {
70  
71          # --- download everything first
72   # FIX-ME --- cacheing is broken
73 < #       $self->parse("download");
73 >        $self->parse("download");
74          
75          # --- and parse the setup file
76          $self->parse("setup");
# Line 137 | Line 137 | sub addconfigitem {
137          my $docref=$self->activatedoc($url);
138          # Set up the document
139          $docref->setup();
140 <        $self->config()->savepolicy("local");
140 >        $self->config()->storepolicy("local");
141          $docref->save();
142   }
143  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines