pnp-software / fcp-editor

Web-based editor for specifying Flight Control Procedures (FCPs) based on ESA's SCOS-2000 standard.
MIT License
3 stars 1 forks source link

Remove "New State Machine" Option #17

Open pasetti opened 3 years ago

pasetti commented 3 years ago

Under "presets->create new", we still have the option "New State Machine". This option is obsolete (it is a left-over from the FW Profile Editor) and we should remove it.

Tomas-M commented 3 years ago

This is not in the code, but it is in database. You can see the table 'diagrams'. The first two rows (id 1 and 2) are templates for new state machine and procedure. The row with id=1 should be deleted from the database.

Also it is in install.php (at the bottom), so the line which inserts row with "New State Machine" can be simply deleted. As well as the presets with state machines (row id 3 and 4).

I've committed the modified install script.