You are here

function _encrypt_display_update_message in Encrypt 7.2

Same name and namespace in other branches
  1. 7.3 encrypt.module \_encrypt_display_update_message()

Display a message that the update script needs to be run.

2 calls to _encrypt_display_update_message()
encrypt_admin_settings in includes/encrypt.admin.inc
Old settings callback.
encrypt_get_configs in ./encrypt.module
Get all configurations.

File

./encrypt.module, line 658
Main Encrypt Drupal File.

Code

function _encrypt_display_update_message() {
  if (user_access('administer content')) {
    drupal_set_message(t('Encrypt requires a database schema update. You should run the <a href="@update">database update script</a> immediately.', array(
      '@update' => base_path() . 'update.php',
    )), 'error', FALSE);
  }
}