[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/skinr/ -> skinr_ui.install (source)

   1  <?php
   2  // $Id: skinr_ui.install,v 1.1.2.2 2010/02/27 02:58:35 moonray Exp $
   3  
   4  /**
   5   * @file skinr_ui.install
   6   * Contains update functions for Skinr UI.
   7   */
   8  
   9  /**
  10   * Install new skinr table and convert old variables to the new db system.
  11   */
  12  function skinr_ui_update_6000() {
  13    // Enable new required modules.
  14    module_enable(array('ctools', 'jquery_update', 'jquery_ui', 'dialog'));
  15    menu_rebuild();
  16  
  17    return array(array('success' => TRUE, 'query' => "Dialog API, Chaos tools, jQuery Update, and jQuery UI modules have been enabled. If you are no longer using Modal Frame API module for any other modules than Skinr, you can now disable it."));
  18  }
  19  
  20  /**
  21   * Delete a few unused variables.
  22   */
  23  function skinr_ui_update_6001() {
  24    variable_del('skinr_overlay_autofit');
  25    variable_del('skinr_overlay_draggable');
  26  
  27    return array(array('success' => TRUE, 'query' => "Some variables that are no longer used have been deleted."));
  28  }


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7