Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
15 | function _elgg_cron_init() { |
||
16 | 33 | elgg_register_page_handler('cron', '_elgg_cron_page_handler'); |
|
|
|||
17 | |||
18 | 33 | elgg_set_config('elgg_cron_periods', array_keys(\Elgg\Cron::$intervals)); |
|
19 | |||
20 | 33 | elgg_register_menu_item('page', [ |
|
21 | 33 | 'name' => 'cron', |
|
22 | 33 | 'text' => elgg_echo('admin:cron'), |
|
23 | 33 | 'href' => 'admin/cron', |
|
24 | 33 | 'section' => 'information', |
|
25 | 33 | 'context' => 'admin', |
|
26 | ]); |
||
70 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.