Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove "New State Machine" Option #17

Open
pasetti opened this issue Jul 15, 2021 · 1 comment
Open

Remove "New State Machine" Option #17

pasetti opened this issue Jul 15, 2021 · 1 comment

Comments

@pasetti
Copy link
Contributor

pasetti commented Jul 15, 2021

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
Copy link
Contributor

Tomas-M commented Jul 15, 2021

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants