You are here

function manualcrop_install in Manual Crop 7

Implements hook_install().

File

./manualcrop.install, line 48
Install, update and uninstall functions for the Manual Crop module.

Code

function manualcrop_install() {

  // Our hooks should run after the Insert module.
  db_query("UPDATE {system} SET weight = 20 WHERE name = 'manualcrop'");

  // Grant the crop permission to all user roles.
  _manualcrop_grant_crop_permission();
}