[freeside-commits] freeside/FS/FS Conf.pm,1.199,1.200

Jeff Finucane,420,, jeff at wavetail.420.am
Fri Jul 13 10:00:16 PDT 2007


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv8466

Modified Files:
	Conf.pm 
Log Message:
a touch should not obliterate

Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -d -r1.199 -r1.200
--- Conf.pm	12 Jul 2007 13:36:25 -0000	1.199
+++ Conf.pm	13 Jul 2007 17:00:13 -0000	1.200
@@ -179,7 +179,9 @@
   return $self->_usecompat('touch', @_) if use_confcompat;
 
   my($name, $agent) = @_;
-  $self->set($name, '', $agent);
+  unless ( $self->exists($name, $agent) ) {
+    $self->set($name, '', $agent);
+  }
 }
 
 =item set KEY VALUE



More information about the freeside-commits mailing list