[299402] Extract properties files from Eclipse project update sites for translation
diff --git a/html/process_update_sites.php b/html/process_update_sites.php
index db64c2f..df44c19 100644
--- a/html/process_update_sites.php
+++ b/html/process_update_sites.php
@@ -14,7 +14,6 @@
* Extract properties files from update sites
*/
$temp_dir = "/tmp/tmp-babel/";
-$debug = TRUE;
$files = array();
header("Content-type: text/plain");
@@ -153,14 +152,10 @@
} else {
$file_name = $temp_unzip_dir . $properties_file_name;
$file->parseProperties(file_get_contents($file_name));
- if ($debug) {
- echo " $properties_file_name\n";
- }
+ echo " $properties_file_name\n";
}
} else {
- if ($debug) {
- echo " !!! Excluding $properties_file_name\n";
- }
+ echo " !!! Excluding $properties_file_name\n";
}
}
echo "Done processing " . sizeof($properties_file_names) . " properties files in project $project_id version $version\n\n";
@@ -173,9 +168,7 @@
if (!$file->save()) {
echo "***ERROR: Cannot deactivate file $file->name\n";
}
- if ($debug) {
echo " " . $file->name . "\n";
- }
}
echo "Done deactivating " . sizeof($files) . " inactive properties files in all projects above\n\n";