]> git.pld-linux.org Git - packages/cacti-plugin-rrdclean.git/blobdiff - fix-paths-handling.patch
- up to 0.41; fix-paths-handling.patch, warning-fixes.patch, rrdmove-fixes.patch...
[packages/cacti-plugin-rrdclean.git] / fix-paths-handling.patch
diff --git a/fix-paths-handling.patch b/fix-paths-handling.patch
deleted file mode 100644 (file)
index 4155919..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- cacti-plugin-rrdclean-0.40/rrdmove.php     2010-06-19 17:24:22.000000000 +0300
-+++ cacti-plugin-rrdclean-0.40/rrdmove.php     2010-12-14 09:28:27.185477958 +0200
-@@ -117,7 +116,7 @@
-       cacti_log("RRDClean is now running on " . sizeof($file_array) . " items", true, "RRDCLEAN");
-       /* determine the location of the RRA files */
--      if (isset ($config["path_rra"])) {
-+      if (isset($config["rra_path"])) {
-               $rra_path = $config["rra_path"];
-       } else {
-               $rra_path = $config["base_path"] . "/rra";
-@@ -128,12 +127,12 @@
-       $rrd_archive = read_config_option("rrd_archive", TRUE);
-       if ($rrd_backup == "")
--              $rrd_backup = $rra_path . "/backup/";
-+              $rrd_backup = $rra_path . "/backup";
-       if ($rrd_archive == "")
--              $rrd_archive = $rra_path . "/archive/";
-+              $rrd_archive = $rra_path . "/archive";
--      rrdclean_create_path($rra_path . "/backup/");
--      rrdclean_create_path($rra_path . "/archive/");
-+      rrdclean_create_path($rrd_backup);
-+      rrdclean_create_path($rrd_archive);
-       /* now scan the files */
-       foreach ($file_array as $file) {
This page took 0.026602 seconds and 4 git commands to generate.