articles/delete.php - Delete an article
This script calls for confirmation, then actually deletes an article. It updates the database, then redirects to the anchor page, or to the index page for articles.Restrictions apply on this page:
- associates and authenticated editors are allowed to move forward
- permission is denied if the anchor is not viewable by this surfer
- permission is denied if the article has been published, and if revision are forbidden ('without_revision' = yes)
- logged surfers may decide to delete their own posts
- else permission is denied
- delete.php/12
- delete.php?id=12
This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques