ArticleDAO::removeArticlesFromSection PHP Method

removeArticlesFromSection() public method

Removes articles from a section by section ID
public removeArticlesFromSection ( $sectionId )
$sectionId int
    function removeArticlesFromSection($sectionId)
    {
        $this->update('UPDATE submissions SET section_id = null WHERE section_id = ?', (int) $sectionId);
        $this->flushCache();
    }