Changeset 9225

Show
Ignore:
Timestamp:
03/15/10 15:27:30 (3 years ago)
Author:
p_lindheimer
Message:

minor change in message printed during install under certain conditions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8/sipstation/install.php

    r8659 r9225  
    2222 
    2323/* Delete all occurences of the specified trunk from all routes that may use it 
     24 * this only gets called if the extensions table is still present and this is needed 
    2425 */ 
    2526if (!function_exists('core_routing_trunk_del')) { 
     
    3233} 
    3334 
    34 /* A long standing bug resulted in routes with trunk nubmers that had been deleted. Because trunk numbers are recyvled (something that 
     35/* A long standing bug resulted in routes with trunk numbers that had been deleted. Because trunk numbers are recycled (something that 
    3536   should be removed in the future), this can result in a new trunk being created and then silently inserted as part of a route that is 
    3637   not intended. This will find all phantom trunks and remove them from routes. 
     38 
     39   The following code should no longer be required with the new outbound routes stuff. However, it's remotely possible that this module 
     40   could get loaded on an upgrade scenario where core hasn't done a migration yet. Setting this module to depend on core makes for a 
     41   more painful upgrade process so we will simply leave this code in place since it checks for the extensions table and if not found 
     42   it does nothing. If found, it just manipulates that table which could still help in a subsequent migration to the new outbound routes. 
    3743*/ 
    3844 
     
    4450if(DB::IsError($results)) { 
    4551  $results = array(); 
    46   out(_("an error occurred querying the extensions table for routes, skipping check")); 
     52  out(_("ok")); 
    4753} else { 
    4854  $trunks = array(); 
     
    8389  } 
    8490} 
    85  
    8691?>