Removing obsolete references to readme files in source code

This commit is contained in:
Manuel Cillero 2017-10-03 23:20:11 +02:00
parent 3bcd36d5ab
commit 37c335e3cc
31 changed files with 52 additions and 94 deletions

View file

@ -1726,7 +1726,7 @@ function system_site_maintenance_settings() {
$form['site_offline_message'] = array(
'#type' => 'textarea',
'#title' => t('Site off-line message'),
'#default_value' => variable_get('site_offline_message', t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => variable_get('site_name', 'Drupal')))),
'#default_value' => variable_get('site_offline_message', t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => variable_get('site_name', 'SuiteDesk')))),
'#description' => t('Message to show visitors when the site is in off-line mode.')
);

View file

@ -1799,7 +1799,7 @@ function system_mail($key, &$message, $params) {
$account = $params['account'];
$context = $params['context'];
$variables = array(
'%site_name' => variable_get('site_name', 'Drupal'),
'%site_name' => variable_get('site_name', 'SuiteDesk'),
'%username' => $account->name,
);
if ($context['hook'] == 'taxonomy') {
@ -1855,7 +1855,7 @@ function system_message_action_submit($form, $form_state) {
function system_message_action(&$object, $context = array()) {
global $user;
$variables = array(
'%site_name' => variable_get('site_name', 'Drupal'),
'%site_name' => variable_get('site_name', 'SuiteDesk'),
'%username' => $user->name ? $user->name : variable_get('anonymous', t('Anonymous')),
);