Revert inadvertently introduced debugging code
authorDan Scott <dan@coffeecode.net>
Mon, 21 May 2012 15:48:26 +0000 (11:48 -0400)
committerDan Scott <dan@coffeecode.net>
Mon, 21 May 2012 15:48:26 +0000 (11:48 -0400)
In commit 91b8790c, several debugging lines were accidentally committed
to the OpenSRF caching utility. Revert that change.

Signed-off-by: Dan Scott <dan@coffeecode.net>
src/perl/lib/OpenSRF/Utils/Cache.pm

index b7344d2..1fb56a4 100644 (file)
@@ -94,9 +94,6 @@ sub new {
        $self->{persist} = $persist || 0;
        $self->{memcache} = Cache::Memcached->new( { servers => $servers } ); 
        if(!$self->{memcache}) {
-        open(CACHEFOO, '>', '/tmp/cached');
-        print CACHEFOO "De nada\n";
-        close(CACHEFOO);
                throw OpenSRF::EX::PANIC ("Unable to create a new memcache object for $cache_type");
        }