Changeset 3664

Show
Ignore:
Timestamp:
01/29/07 12:32:02 (6 years ago)
Author:
naftali5
Message:

fix existing users with disabled instead of novm #1697

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2/voicemail/install.php

    r1792 r3664  
    1515unset($fcc); 
    1616 
     17//1.6.1 
     18$modinfo = module_getinfo('voicemail'); 
     19if (is_array($modinfo)) { 
     20  $ver = $modinfo['voicemail']['dbversion']; 
     21  if (version_compare($ver,'1.6.1','lt')) { //we have to fix existing users with wrong values for vm ticket #1697 
     22    sql("update users set voicemail='novm' where voicemail='disabled' or voicemail='';"); 
     23    core_users2astdb(); 
     24  } 
     25} 
     26 
    1727?> 
  • modules/branches/2.2/voicemail/module.xml

    r3360 r3664  
    22  <rawname>voicemail</rawname> 
    33  <name>Voicemail</name> 
    4   <version>1.6</version> 
     4  <version>1.6.1</version> 
    55  <changelog> 
    6             *1.6* Re-Fix 1.5.2, bump version for 2.2rc2 release. 
     6           *1.6.1* Bump version to fix existing extensions with disabled voicemail #1697 
     7           *1.6* Re-Fix 1.5.2, bump version for 2.2rc2 release. 
    78      *1.5.3* Fix for vm Javascript sanity checks only working in DevAndUser mode. 
    89      *1.5.2* Fix vm not appearing in DeviceAndUser mode 
    9             *1.5.1* Fix for MWI not working 
     10           *1.5.1* Fix for MWI not working 
    1011      *1.5* Fix issue with vm options not being saved on creation of extension 
    1112      *1.4.2* Change category to Basic