Sunnysideup\MigrateData\Tasks\CleanUpSS4Files
Update all systems.
Class UpdateSystemsWithProductCodeVariantKeywords
Synopsis
class CleanUpSS4Files
extends BuildTask
{
- // members
- protected string $title = 'Removes non-existent files from DB';
- protected string $description = 'You can run this script straight after an upgrade to remove files that are not physically present.';
- // methods
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
protected
- $description — string
- $title — string
Methods
public
- run() — Method to save all System dataobjects and trigger the onBeforeWrite() event handler.