Open Source Content Management Framework

mgd_delete_article

  1. Description

mgd_delete_article -- Delete an article

(Note: this function is deprecated since Midgard 1.6.0. Corresponding OOP-method should be used, instead)

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.
    ?>
Designed by Nemein, hosted by Kafit