Remove the external oauth-get-signing. Only XMLConnection should be fetching things...
[potlatch2.git] / net / systemeD / potlatch2 / utils / Importer.as
index 1f1d75d6f2eca660b012b5104eebe31594546c83..056457e3b40a4922fed11e398721d8e641e467e3 100644 (file)
@@ -35,11 +35,6 @@ package net.systemeD.potlatch2.utils {
                        var sp:uint=0;
                        for each (var fn:String in filenames) {
                                Globals.vars.root.addDebug("requesting file "+fn);
-                var conn:Connection = Connection.getConnectionInstance();
-
-                if ( fn.indexOf(conn.apiBase) == 0 ) {
-                  fn = conn.signOAuthGet(fn);
-                }
                                var request:DebugURLRequest = new DebugURLRequest(fn);
                                var loader:ExtendedURLLoader = new ExtendedURLLoader();
                                loader.info['file']=sp;