Project

General

Profile

« Previous | Next » 

Revision d071bed7

Added by Andreas Kohlbecker almost 11 years ago

removing out commented code and adding missing query parameter to synonym links

View differences:

7.x/modules/cdm_dataportal/cdm_api/cdm_api.module
344 344
          $dwa += $dw;
345 345
        }
346 346
        $dwa = (count($representation->parts) > 0) ? $dwa / count($representation->parts) : 0;
347
        // @WA: $mimeTypeKey is not defined.
348
        // $prefRepr[$dwa.'_'.$mimeTypeKey] = $representation;
349 347
        $prefRepr[$dwa . '_'] = $representation;
350 348
      }
351 349
    }
......
1354 1352
 *   The deserialized webservice response object.
1355 1353
 */
1356 1354
function cdm_ws_get($uri, $pathParameters = array(), $query = NULL, $method = "GET", $absoluteURI = FALSE) {
1357
  // static $cacheL1; if(!isset($cacheL1)){ $cacheL1 = array(); }
1355

  
1358 1356
  static $cacheL1 = array();
1359 1357

  
1360 1358
  // Transform the given uri path or pattern into a proper webservice uri.

Also available in: Unified diff