*** empty log message ***

svn path=/trunk/boinc/; revision=6450
This commit is contained in:
David Anderson 2005-06-26 23:13:48 +00:00
parent f0cef4b197
commit ca08a07ff9
3 changed files with 15 additions and 1 deletions

View File

@ -8560,3 +8560,11 @@ David 26 June 2005
sched/
handle_request.C
David 26 June 2005
- trigger transitioner when cancel WU, to set file delete
client/
file_names.C
html/ops
cancel_wu_action.php

View File

@ -141,7 +141,7 @@ void get_account_filename(char* master_url, char* path) {
}
static bool bad_account_filename(const char* filename) {
msg_printf(NULL, MSG_ERROR, "Invalid account file: %s", filename);
msg_printf(NULL, MSG_ERROR, "Invalid account filename: %s", filename);
return false;
}

View File

@ -26,6 +26,12 @@ function cancel_wu($wuid1, $wuid2) {
return 2;
}
// trigger the transitioner (it will set file_delete_state)
$now = time();
$query = ="update workunit set transition_time=$now where $wuid1<=id and id<=$wuid2";
mysql_query($query);
return 0;
}