/** * Deletes all entry's relationships. * * @deprecated 8.1.6 Use {@see cnTerm::deleteRelationships()} instead. * @see cnTerm::deleteRelationships() * * @param integer $entryID * * @return bool */ public function deleteTermRelationships($entryID) { $terms = cnTerm::getRelationships($entryID, 'category', array('fields' => 'ids')); $result = cnTerm::deleteRelationships($entryID, $terms, 'category'); cnCache::clear(TRUE, 'transient', "cn_category"); return $result; }