Changeset 1198 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts/SyncManager.pm
- Timestamp:
- 12/27/12 07:47:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/SyncManager.pm
r1135 r1198 37 37 }; 38 38 39 if ( !grep { 40 lc($ini->val($_, 'type', '')) eq 'basessynchro' 41 } $ini->Sections ) { 42 $ini->newval('_basesync', 'type', 'basessynchro'); 39 foreach my $section (qw(basessynchro refreshexpired automatedrequest)) { 40 if ( !grep { 41 lc($ini->val($_, 'type', '')) eq $section 42 } $ini->Sections ) { 43 $ini->newval("_$section", 'type', $section); 44 } 43 45 } 44 if ( !grep {45 lc($ini->val($_, 'type', '')) eq 'refreshexpired'46 } $ini->Sections ) {47 $ini->newval('_refreshexpired', 'type', 'refreshexpired');48 }49 50 $ini->newval('_automatedrequest', 'type', 'automatedrequest');51 46 52 47 bless {
Note: See TracChangeset
for help on using the changeset viewer.