Changeset 5983
- Timestamp:
- 07/10/08 20:22:50 (5 years ago)
- Files:
-
- modules/branches/2.5/recordings/functions.inc.php (modified) (2 diffs)
- modules/branches/2.5/recordings/uninstall.php (copied) (copied from modules/branches/2.5/daynight/uninstall.php) (1 diff)
- modules/branches/2.5/recordings/uninstall.sql (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/recordings/functions.inc.php
r5982 r5983 32 32 $ext->add($appcontext, $fc_save, '', new ext_wait('2')); 33 33 $ext->add($appcontext, $fc_save, '', new ext_macro('systemrecording', 'dorecord')); 34 //$ext->add($appcontext, $fc_save, '', new ext_goto('1', 'dorecord'));35 34 } 36 35 … … 39 38 $ext->add($appcontext, $fc_check, '', new ext_wait('2')); 40 39 $ext->add($appcontext, $fc_check, '', new ext_macro('systemrecording', 'docheck')); 41 //$ext->add($appcontext, $fc_check, '', new ext_goto('1', 'docheck'));42 40 } 43 41 } modules/branches/2.5/recordings/uninstall.php
r5862 r5983 1 1 <?php 2 2 3 // Delete the old code if still there3 // Delete them all even if they should not exist just in case 4 4 // 5 $fcc = new featurecode('daynight', 'toggle-mode'); 6 $fcc->delete(); 7 unset($fcc); 8 9 $list = daynight_list(); 10 foreach ($list as $item) { 11 $id = $item['ext']; 12 $fcc = new featurecode('daynight', 'toggle-mode-'.$id); 5 $recordings = recordings_list(); 6 foreach ($recordings as $item) { 7 $fcc = new featurecode('recordings', 'edit-recording-'.$item['id']); 13 8 $fcc->delete(); 14 9 unset($fcc); 15 10 } 16 11 17 sql('DROP TABLE daynight');12 sql('DROP TABLE IF EXISTS recordings'); 18 13 19 14 ?>
