Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/adminimal_admin_menu/adminimal_admin_menu.install
84 84
 */
85 85
function adminimal_admin_menu_update_7100() {
86 86

  
87
  // Include the update file.
88
  include 'updates/update_7100.php';
87
  // Define Adminimal Menu path.
88
  $module_path = drupal_get_path('module', 'adminimal_admin_menu');
89 89

  
90
  if (file_exists($module_path . '/adminimal_admin_menu.js')) {
91
    // Delete the "adminimal_admin_menu.js" file.
92
    file_unmanaged_delete($module_path . '/adminimal_admin_menu.js');
93
  }
94

  
95
  if (file_exists($module_path . '/slicknav')) {
96
    // Empty the "slicknav" folder.
97
    file_unmanaged_delete_recursive($module_path . '/slicknav');
98

  
99
    // Delete the "slicknav" folder.
100
    drupal_rmdir($module_path . '/slicknav');
101
  }
90 102
}

Formats disponibles : Unified diff