You are here

function activity_fix_trigger_weight in Activity 7

Same name and namespace in other branches
  1. 6.2 activity.install \activity_fix_trigger_weight()

Sets Trigger modules weight to be higher then pathauto.

1 string reference to 'activity_fix_trigger_weight'
activity_menu in ./activity.module
Implements hook_menu().

File

./activity.install, line 213

Code

function activity_fix_trigger_weight() {
  db_query("UPDATE {system} SET weight = 2 WHERE name = 'trigger'");
  drupal_goto();
}