mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=6450
This commit is contained in:
parent
f0cef4b197
commit
ca08a07ff9
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue