Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/a6db3308c9ab605d#

...

when When we execute /core/install.php, we can choose : "Reinstall
In-Portal", and the text help on the right says :

"Reinstall In-Portal - cleans out your existing In-Portal database and
starts with a fresh installation. Note that this operation cannot be
undone and no backups are made! Use at your own risk."1-

  1. why threaten user with such message :"cannot be undone and no

...

  1. backups are made", is a dump isn't too complicated to achieve?

...

  1. there's no confirmation message when we select this option : it

...

  1. directly destroy all DB, without any confirmation, no security else

...

  1. than this message, while we should help user, rather than letting him

...

  1. going on a wrong action

I'd suggest here to have a warning prompt, and if user validate the
rethe re-install, do a dump in backupdata/ folder before cleaning anything.
Phil.