You are here

function rooms_availability_update_7001 in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Renames permissions.

File

modules/rooms_availability/rooms_availability.install, line 270
Install for Rooms Availability module - sets up the main Rooms Availability table

Code

function rooms_availability_update_7001() {

  // Load utility functions.
  module_load_install('rooms');
  $map = array(
    'manage booking unit availability' => 'administer rooms_unit availability',
  );
  rooms_update_rename_permissions($map);
  return t('Permissions renamed');
}