Changes

From SME Server
Jump to navigationJump to search
139 bytes added ,  21:39, 18 June 2015
Line 102: Line 102:  
               my $rec = $config->get($key) ││
 
               my $rec = $config->get($key) ││
 
                         $config->new_record($key);
 
                         $config->new_record($key);
 +
 +
for example (if it doesn't exist we create it)
 +
    my $rec = $DB->get('roundcube') || $DB->new_record('roundcube', {type => 'service'});
    
==== getting a value ====
 
==== getting a value ====

Navigation menu