You are here

function pay_node_update_6003 in Pay 6

Same name and namespace in other branches
  1. 7 modules/pay_node/pay_node.install \pay_node_update_6003()

Remove menu_path entries from pay_node forms. This was causing an incorrect menu callback for node/X/pay URLS and prevented transactions from being associated with nodes correctly.

File

modules/pay_node/pay_node.install, line 75
Install, update and uninstall functions for the Pay Node module.

Code

function pay_node_update_6003() {
  $ret[] = update_sql("UPDATE {pay_form} SET menu_path = NULL\n    WHERE menu_path LIKE 'node/%/pay'");
  return $ret;
}