IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2008, 12:18:51 PM (18 years ago)
Author:
jhoblitt
Message:

pickup test DB settings from the env.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r16265 r16354  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.51 2008-01-31 02:26:33 jhoblitt Exp $
     3# $Id: Server.pm,v 1.52 2008-02-07 22:18:51 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    861861    $log->debug( "entered - @_" );
    862862
     863    unless ($pattern) {
     864        $log->debug( "leaving" );
     865        return [];
     866    }
     867
     868    # attempt to strip off neb:// if it exists
     869    if ($pattern =~ m|^neb:|) {
     870        $pattern = parse_neb_key($pattern);       
     871    }
     872
    863873    my $query;
    864 
    865874    eval {
    866875        $query = $db->prepare_cached( $sql->find_objects );
Note: See TracChangeset for help on using the changeset viewer.