Quellcode durchsuchen

AMBARI-524. Add nodes restore yum default on post install add nodes page (Contributed by Vikram)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1347374 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K vor 13 Jahren
Ursprung
Commit
ba736eb6dc
2 geänderte Dateien mit 2 neuen und 5 gelöschten Zeilen
  1. 2 0
      CHANGES.txt
  2. 0 5
      hmc/php/frontend/nodesAction.php

+ 2 - 0
CHANGES.txt

@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-524. Add nodes restore yum default on post install add nodes page (Vikram)
+
   AMBARI-523. Need to persist yum repo for add nodes. (Vikram)
 
   AMBARI-522. Fix version of the server rpm. (Mahadev via Vikram)

+ 0 - 5
hmc/php/frontend/nodesAction.php

@@ -59,11 +59,6 @@ if (isset($_POST['yumRepoFilePath'])
   $repoFilePath = trim($_POST['yumRepoFilePath']);
 }
 
-if ("true" != strtolower($useLocalYumRepo)) {
-  // Restore to default if we are not using the local repo
-  $repoFilePath = $propertiesArr["configs"]["yum_repo_file"]["value"];
-}
-
 header("Content-type: application/json");
 
 if (!file_exists($repoFilePath)) {