[freeside-commits] freeside/FS/FS Conf.pm,1.397.2.35,1.397.2.36

Ivan,,, ivan at wavetail.420.am
Mon Mar 28 17:32:23 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv12621/FS/FS

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	Conf.pm 
Log Message:
local backups, RT#12180

Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.397.2.35
retrieving revision 1.397.2.36
diff -u -w -d -r1.397.2.35 -r1.397.2.36
--- Conf.pm	8 Mar 2011 01:47:03 -0000	1.397.2.35
+++ Conf.pm	29 Mar 2011 00:32:21 -0000	1.397.2.36
@@ -312,7 +312,7 @@
 
   my($name, $agentnum) = @_;
   if ( my $cv = FS::Record::qsearchs('conf', {name => $name, agentnum => $agentnum}) ) {
-    warn "[FS::Conf] DELETE $name\n";
+    warn "[FS::Conf] DELETE $name\n" if $DEBUG;
 
     my $oldAutoCommit = $FS::UID::AutoCommit;
     local $FS::UID::AutoCommit = 0;
@@ -2194,9 +2194,16 @@
   },
 
   {
+    'key'         => 'dump-localdest',
+    'section'     => '',
+    'description' => 'Destination for local database dumps (full path)',
+    'type'        => 'text',
+  },
+
+  {
     'key'         => 'dump-scpdest',
     'section'     => '',
-    'description' => 'destination for scp database dumps: user at host:/path',
+    'description' => 'Destination for scp database dumps: user at host:/path',
     'type'        => 'text',
   },
 



More information about the freeside-commits mailing list