mirror of https://github.com/BOINC/boinc.git
Drupal: Add missing function to handle manual UOTD reset
(DBOINCP-213)
This commit is contained in:
parent
a5daa967be
commit
4ae90d1f53
|
@ -84,6 +84,15 @@ function boinccore_admin_community_submit($form, &$form_state) {
|
||||||
drupal_set_message(t('BOINC community settings have been updated.'));
|
drupal_set_message(t('BOINC community settings have been updated.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Force a reset of the user of the day
|
||||||
|
*/
|
||||||
|
function boinccore_reset_user_of_the_day() {
|
||||||
|
if (boincuser_select_user_of_the_day()) {
|
||||||
|
drupal_set_message(t('The user of the day has been reset.'));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The standard page generator form provides an interface to create standard
|
* The standard page generator form provides an interface to create standard
|
||||||
* pages, such as a Help or About page.
|
* pages, such as a Help or About page.
|
||||||
|
|
Loading…
Reference in New Issue