/** * This function processes a tag correlation and makes changes in the database as required. * * The tag correlation object needs have both a tagid property and a correlatedtags property that is an array. * * @package core_tag * @deprecated since 3.1 * @param stdClass $tagcorrelation * @return int/bool The id of the tag correlation that was just processed or false. */ function tag_process_computed_correlation(stdClass $tagcorrelation) { debugging('Method tag_process_computed_correlation() is deprecated, ' . 'use \\core\\task\\tag_cron_task::process_computed_correlation()', DEBUG_DEVELOPER); $task = new \core\task\tag_cron_task(); return $task->process_computed_correlation($tagcorrelation); }