Changeset 8653

Show
Ignore:
Timestamp:
01/22/10 18:56:28 (3 years ago)
Author:
p_lindheimer
Message:

install script tweaks to core

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.7/core/install.php

    r8572 r8653  
    566566} 
    567567 
    568 // END of trunks migration code 
    569568outn(_("Checking if privacy manager options exists..")); 
    570569$check = $db->query('SELECT pmmaxretries FROM incoming'); 
    571570if(DB::IsError($check)){ 
    572   $db->query('alter table incoming add pmmaxretries varchar(2), add pmminlength varchar(2);'); 
    573   outn(_("Adding privacy manager options..")); 
     571  $result = $db->query('alter table incoming add pmmaxretries varchar(2), add pmminlength varchar(2);'); 
     572  if(DB::IsError($result)) { 
     573    die_freepbx($result->getDebugInfo().'fatal error adding fields to incoming table');  
     574  } else { 
     575    out(_("Added pmmaxretries and pmminlength")); 
     576  } 
    574577}else{ 
    575578  out(_("already exists")); 
  • modules/branches/2.7/core/module.xml

    r8476 r8653  
    44  <category>Basic</category> 
    55  <name>Core</name> 
    6   <version>2.6.0.1</version> 
     6  <version>2.7.0.0beta1.0</version> 
    77  <publisher>FreePBX</publisher> 
    88  <license>GPLv2+</license> 
     
    1010  <canuninstall>no</canuninstall> 
    1111  <changelog> 
     12    *2.7.0.0beta1.0* #3882, #4000, #1718, #3927, #3805, #4007, sql injections fixes 
    1213    *2.6.0.1* #3889 reverted, #3900, #3962, #2787, #3793, #3377, #3386, #3717 
    1314    *2.6.0.0* #3889, #3919