function _encrypt_display_update_message in Encrypt 7.3
Same name and namespace in other branches
- 7.2 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 657 - 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);
}
}