BOINC environment configuration

Removed unnecessary configuration notices
This commit is contained in:
Tristan Olive 2013-04-25 12:11:16 -04:00 committed by Oliver Bock
parent 2766afc0dc
commit 5fe8526c5a
2 changed files with 2 additions and 4 deletions

View File

@ -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');
}

View File

@ -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);
}
}
}