| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class CheckForUpdatesJob extends AbstractQueuedJob implements QueuedJob |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Define the title |
||
| 18 | * |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function getTitle() |
||
| 22 | { |
||
| 23 | return _t(__CLASS__ . '.TITLE', 'Check for updates to installed modules'); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Define the type. |
||
| 28 | */ |
||
| 29 | public function getJobType() |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Processes the task as a job |
||
| 37 | */ |
||
| 38 | public function process() |
||
| 48 |