You are here

function node_export_update_7300 in Node export 7.3

Warn user about changed permissions and configuration.

File

./node_export.install, line 47
The Node export install file.

Code

function node_export_update_7300() {
  drupal_set_message(t("Node export <a href=\"!perms\">permissions</a> and <a href=\"!config\">configuration</a> " . "have changed, please take this opportunity to review these options to " . "ensure the correct behavior and security of the module.  The import " . "form is now located under <a href=\"!add\">Create content</a>.", array(
    '!perms' => url('admin/people/permissions'),
    '!config' => url('admin/settings/node_export'),
    '!add' => url('node/add'),
  )), 'warning');
  drupal_set_message(t("Node export no longer checks whether users have access to use the " . "filter formats of the fields in the node.  Please keep this in mind " . "when deciding which user roles will get the 'export nodes' " . "permission."), 'warning');
  return 'Note: Please update Node export permissions and configuration.';
}