Changeset 5339

Show
Ignore:
Timestamp:
12/04/07 00:36:40 (5 years ago)
Author:
p_lindheimer
Message:

need to abort configprocess functions if global abort has been set

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/dictate/functions.inc.php

    r5181 r5339  
    152152  }  
    153153  if ($action == "add" || $action == "edit") { 
    154     dictate_update($extdisplay, $dictenabled, $dictformat, $dictemail); 
     154    if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 
     155      dictate_update($extdisplay, $dictenabled, $dictformat, $dictemail); 
     156    } 
    155157  } elseif ($action == "del") { 
    156158    dictate_del($extdisplay); 
  • modules/branches/2.4/languages/functions.inc.php

    r5328 r5339  
    168168  }  
    169169  if ($action == "add" || $action == "edit") { 
    170     languages_user_update($extdisplay, $langcode); 
     170    if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 
     171      languages_user_update($extdisplay, $langcode); 
     172    } 
    171173  } elseif ($action == "del") { 
    172174    languages_user_del($extdisplay); 
  • modules/branches/2.4/voicemail/functions.inc.php

    r5326 r5339  
    235235  switch ($action) { 
    236236    case "add": 
    237       voicemail_mailbox_add($extdisplay, $_REQUEST); 
    238       needreload(); 
     237      if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 
     238        voicemail_mailbox_add($extdisplay, $_REQUEST); 
     239        needreload(); 
     240      } 
    239241    break; 
    240242    case "del": 
     
    246248    break; 
    247249    case "edit": 
    248       voicemail_mailbox_del($extdisplay); 
    249       if ( $vm != 'disabled' ) 
    250         voicemail_mailbox_add($extdisplay, $_REQUEST); 
    251       needreload(); 
     250      if (!isset($GLOBALS['abort']) || $GLOBALS['abort'] !== true) { 
     251        voicemail_mailbox_del($extdisplay); 
     252        if ( $vm != 'disabled' ) 
     253          voicemail_mailbox_add($extdisplay, $_REQUEST); 
     254        needreload(); 
     255      } 
    252256    break; 
    253257  }