Changeset 4579
- Timestamp:
- 07/27/07 23:16:16 (1 year ago)
- Files:
-
- modules/branches/2.3/miscapps/functions.inc.php (modified) (2 diffs)
- modules/branches/2.3/miscapps/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.3/miscapps/functions.inc.php
r3363 r4579 72 72 // we want to get the ext from featurecodes 73 73 $fc = new featurecode('miscapps', 'miscapp_'.$row['miscapps_id']); 74 $row['ext'] = $fc->get Code();74 $row['ext'] = $fc->getDefault(); 75 75 $row['enabled'] = $fc->isEnabled(); 76 76 … … 126 126 $fc = new featurecode('miscapps', 'miscapp_'.$miscapps_id); 127 127 $fc->setDescription($description); 128 $fc->set Code($ext);128 $fc->setDefault($ext, true); 129 129 $fc->update(); 130 130 } 131 ?> 131 132 132 ?>modules/branches/2.3/miscapps/module.xml
r4246 r4579 2 2 <rawname>miscapps</rawname> 3 3 <name>Misc Applications</name> 4 <version>0.2. 2</version>4 <version>0.2.3</version> 5 5 <type>setup</type> 6 6 <category>Internal Options & Configuration</category> … … 12 12 </menuitems> 13 13 <changelog> 14 *0.2.3* #1902 miscapp always sets/pulls default code now regardless of custom override in featurecodes 14 15 *0.2.2* added SQLite3 support, fixes http://freepbx.org/trac/ticket/1775 15 16 *0.2.1.1* changed freePBX to FreePBX
