From eedad39a0aaefbe58fd03e0e8d82eea332222a0d Mon Sep 17 00:00:00 2001 From: cigamit Date: Sun, 31 Dec 2017 13:40:06 -0600 Subject: [PATCH] Remove debug code from import_package() function. --- lib/import.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/import.php b/lib/import.php index 0f0f5f1176..b8efd222fb 100644 --- a/lib/import.php +++ b/lib/import.php @@ -249,8 +249,6 @@ function import_package($xmlfile, $profile_id = 1, $remove_orphans = false, $pre } else { cacti_log('Importing XML Data for ' . $name, false, 'IMPORT', POLLER_VERBOSITY_LOW); - file_put_contents('/tmp/template' . rand(), $fdata); - $debug_data = import_xml_data($fdata, false, $profile_id, $remove_orphans, $preview_only); } }