Total Complexity | 4 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class CleanUpSS4Files extends BuildTask |
||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $title = 'Removes non-existent files from DB'; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'You can run this script straight after an upgrade to remove files that are not physically present.'; |
||
26 | |||
27 | /** |
||
28 | * Method to save all System dataobjects and trigger the onBeforeWrite() event handler. |
||
29 | * |
||
30 | * @param mixed $request |
||
31 | */ |
||
32 | public function run($request) |
||
68 |