Changeset 5983 for modules

Show
Ignore:
Timestamp:
07/10/08 20:22:50 (5 years ago)
Author:
p_lindheimer
Message:

#2899 forgot to include uninstall.php script

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/recordings/functions.inc.php

    r5982 r5983  
    3232          $ext->add($appcontext, $fc_save, '', new ext_wait('2')); 
    3333          $ext->add($appcontext, $fc_save, '', new ext_macro('systemrecording', 'dorecord')); 
    34           //$ext->add($appcontext, $fc_save, '', new ext_goto('1', 'dorecord')); 
    3534        } 
    3635 
     
    3938          $ext->add($appcontext, $fc_check, '', new ext_wait('2')); 
    4039          $ext->add($appcontext, $fc_check, '', new ext_macro('systemrecording', 'docheck')); 
    41           //$ext->add($appcontext, $fc_check, '', new ext_goto('1', 'docheck')); 
    4240        } 
    4341      } 
  • modules/branches/2.5/recordings/uninstall.php

    r5862 r5983  
    11<?php 
    22 
    3 // Delete the old code if still ther
     3// Delete them all even if they should not exist just in cas
    44// 
    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(); 
     6foreach ($recordings as $item) { 
     7  $fcc = new featurecode('recordings', 'edit-recording-'.$item['id']); 
    138  $fcc->delete(); 
    149  unset($fcc);   
    1510} 
    1611 
    17 sql('DROP TABLE daynight'); 
     12sql('DROP TABLE IF EXISTS recordings'); 
    1813 
    1914?>