Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | protected function command() { |
||
22 | |||
23 | if (!class_exists('\Faker\Generator')) { |
||
24 | elgg_log('This is a developer tool currently intended for testing purposes only. Please refrain from using it.', 'ERROR'); |
||
25 | return 1; |
||
26 | } |
||
27 | |||
28 | set_time_limit(0); |
||
29 | |||
30 | _elgg_services()->setValue('mailer', new \Zend\Mail\Transport\InMemory()); |
||
31 | |||
32 | _elgg_services()->seeder->unseed(); |
||
33 | } |
||
34 | |||
35 | } |