Move Yahoo into imagery.xml rather than hard-coding it into the menu
[potlatch2.git] / net / systemeD / potlatch2 / collections / Imagery.as
index e837e105c901f09a96112383583dcd2b167dd015..d0443c55c72853ed3761dc128e97a175d9218572 100644 (file)
@@ -61,9 +61,7 @@ package net.systemeD.potlatch2.collections {
             var backgroundSet:Boolean = false;
 
                        // Read all values from XML file
-            collection=new Array(
-                               { name: "None", url: "" },
-                               { name: "Yahoo", url: "yahoo", sourcetag: "Yahoo" } );
+                       collection=new Array({ name: "None", url: "" });
                        for each(var set:XML in xml.set) {
                                var obj:Object={};
                                var a:XML;
@@ -75,7 +73,7 @@ package net.systemeD.potlatch2.collections {
                        }
 
                        // Add user's previous preference (from SharedObject) if we didn't find it in the XML file
-            if (!isSet && saved.name && saved.url && saved.url!='' && saved.url!='yahoo') {
+            if (!isSet && saved.name && saved.url && saved.url!='') {
                 collection.push(saved);
                 isSet=true;
             }