mgd_delete_article

(Midgard 1.4.2 'Bifrost')

mgd_delete_article -- Delete an article

Description

bool mgd_delete_article (int id)

Deletes the article with id id. The user must be in the same group as the owner of the article.

Returns TRUE on success, FALSE on failure.


<?php
 mgd_delete_article(123); // This will delete article with id 123.
?>