| 1 | <?php
 | 
  
    | 2 | /**
 | 
  
    | 3 |  *
 | 
  
    | 4 |  * @category        module
 | 
  
    | 5 |  * @package         droplet
 | 
  
    | 6 |  * @author          Ruud Eisinga (Ruud) John (PCWacht)
 | 
  
    | 7 |  * @author          WebsiteBaker Project
 | 
  
    | 8 |  * @copyright       Ryan Djurovich
 | 
  
    | 9 |  * @copyright       WebsiteBaker Org. e.V.
 | 
  
    | 10 |  * @link            http://websitebaker.org/
 | 
  
    | 11 |  * @license         http://www.gnu.org/licenses/gpl.html
 | 
  
    | 12 |  * @platform        WebsiteBaker 2.8.3
 | 
  
    | 13 |  * @requirements    PHP 5.3.6 and higher
 | 
  
    | 14 |  * @version         $Id: uninstall.php 2 2017-07-02 15:14:29Z Manuela $
 | 
  
    | 15 |  * @filesource      $HeadURL: svn://isteam.dynxs.de/wb/2.10.x/trunk/modules/droplets/uninstall.php $
 | 
  
    | 16 |  * @lastmodified    $Date: 2017-07-02 17:14:29 +0200 (Sun, 02 Jul 2017) $
 | 
  
    | 17 |  *
 | 
  
    | 18 |  */
 | 
  
    | 19 | if(defined('WB_PATH'))
 | 
  
    | 20 | {
 | 
  
    | 21 |     // delete tables from sql dump file
 | 
  
    | 22 |     if (is_readable(__DIR__.'/install-struct.sql')) {
 | 
  
    | 23 |         $database->SqlImport(__DIR__.'/install-struct.sql', TABLE_PREFIX, __FILE__ );
 | 
  
    | 24 |     }
 | 
  
    | 25 | }
 |