/**
 * Function to start the process of attaching one object to another
 *
 * @param int $guid_one This is the target object
 * @param int $guid_two This is the object trying to attach to $guid_one
 *
 * @return true|void
 * @access private
 */
function make_attachment($guid_one, $guid_two)
{
    if (!already_attached($guid_one, $guid_two)) {
        if (add_entity_relationship($guid_one, "attached", $guid_two)) {
            return true;
        }
    }
}
/**
 * Function to start the process of attaching one object to another
 *
 * @param int $guid_one This is the target object
 * @param int $guid_two This is the object trying to attach to $guid_one
 *
 * @return true|void
 * @access private
 * @deprecated 1.9 Use add_entity_relationship()
 */
function make_attachment($guid_one, $guid_two)
{
    elgg_deprecated_notice(__FUNCTION__ . ' is deprecated', 1.9);
    if (!already_attached($guid_one, $guid_two)) {
        if (add_entity_relationship($guid_one, "attached", $guid_two)) {
            return true;
        }
    }
}