You are here

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

Renames permissions.

File

modules/rooms_pricing/rooms_pricing.install, line 253
Install for Rooms Pricing module - sets up the main Rooms Pricing table

Code

function rooms_pricing_update_7001() {

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