mirror of https://github.com/BOINC/boinc.git
BOINC environment configuration
Removed unnecessary configuration notices
This commit is contained in:
parent
2766afc0dc
commit
5fe8526c5a
|
@ -16,8 +16,6 @@ function boinc_standard_enable() {
|
|||
$default_theme = 'boinc';
|
||||
variable_set('theme_default', $default_theme);
|
||||
}
|
||||
drupal_set_message('default theme: ' . $default_theme);
|
||||
$default_theme_enabled = db_query("UPDATE {system} SET status = 1
|
||||
WHERE type = 'theme' and name = '%s'", $default_theme);
|
||||
if ($default_theme_enabled) drupal_set_message('default theme enabled');
|
||||
}
|
||||
|
|
|
@ -450,11 +450,11 @@ function boincstats_check_configuration() {
|
|||
if (user_access('administer site configuration')) {
|
||||
drupal_set_message(t('The BOINC stats system is not configured. Please
|
||||
!configure_it', array('!configure_it' => l(t('configure it now'),
|
||||
'admin/boinc/stats'))), 'error');
|
||||
'admin/boinc/stats'))), 'error', FALSE);
|
||||
}
|
||||
else {
|
||||
drupal_set_message(t('There is a problem with the site. Please contact
|
||||
the system administrator.'), 'error');
|
||||
the system administrator.'), 'error', FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue