Ejemplo n.º 1
0
function OX_bucket_updateTable($tableName, $aQuery, $increment = true, $counter = 'count')
{
    $prefix = $GLOBALS['_MAX']['CONF']['table']['prefix'];
    $query = OX_bucket_prepareUpdateQuery($prefix . $tableName, $aQuery, $increment, $counter);
    $result = OA_Dal_Delivery_query($query, 'rawDatabase');
    return $result;
}
Ejemplo n.º 2
0
function OX_bucket_updateTable($tableName, $aQuery, $increment = true, $counter = 'count')
{
    $prefix = $GLOBALS['_MAX']['CONF']['table']['prefix'];
    $query = OX_bucket_prepareUpdateQuery($prefix . $tableName, $aQuery, $increment, $counter);
    if (!empty($GLOBALS['_MAX']['CONF']['deliveryLog']['enabled'])) {
        require_once MAX_PATH . '/lib/OA.php';
        OA::debug('updating bucket ' . $query);
    }
    $result = OA_Dal_Delivery_query($query, 'rawDatabase');
    return $result;
}