예제 #1
0
파일: node.php 프로젝트: reasonat/women
/**
 * Implements hook_node_update().
 * When a node is updated, notify CM to scrape its details
 * and clear FB cache
 *
 * @param $node The node that has been updated
 */
function shareaholic_node_update($node)
{
    ShareaholicContentSettings::update($node);
    ShareaholicContentManager::single_page_worker($node);
    ShareaholicUtilities::clear_fb_opengraph($node);
}
/**
 * Implements hook_node_update().
 * When a node is updated, notify CM to scrape its details
 * and clear FB cache
 *
 * @param $node The node that has been updated
 */
function shareaholic_node_update($node)
{
    ShareaholicContentSettings::update($node);
    ShareaholicContentManager::single_page_worker($node);
}