| @@ -37,9 +37,8 @@ | ||
| 37 | 37 | const EXCEEDED_TIME_LIMIT = 10; // ? Exceeded time limit in seconds |
| 38 | 38 | const AGE_OUT = 6; // ? Age out time after n hours |
| 39 | 39 | const RESTART_ATTEMPTED_LIMIT = 3; |
| 40 | 40 | const OPTION_RESTART_ATTEMPTED = 'lasso_lite_process_restart_attempted'; // ? Age out time after n hours |
| 41 | - const COMPLETE_ACTION_KEY = 'lasso_lite_process_complete'; | |
| 42 | 41 | |
| 43 | 42 | /** |
| 44 | 43 | * Action name |
| 45 | 44 | * |
| @@ -366,9 +365,8 @@ | ||
| 366 | 365 | public function complete() { |
| 367 | 366 | parent::complete(); |
| 368 | 367 | $this->set_completed(); |
| 369 | 368 | $this->task_end_log(); |
| 370 | - do_action( self::COMPLETE_ACTION_KEY, $this->action ); | |
| 371 | 369 | } |
| 372 | 370 | |
| 373 | 371 | /** |
| 374 | 372 | * Check whether CPU exceeded or not |