protected function _uploadChangeSet($changeSet) { $relativeUrl = 'changeset/' . $changeSet->getId() . '/upload'; $xmlStr = $changeSet->getUploadXmlStr($this->_getUserAgent()); if (OSM_ZLog::isDebug()) { file_put_contents('debug.OSM_Api._uploadChangeSet.postdata.xml', $xmlStr); } if ($this->_options['simulation']) { $result = 'Simulation, no call to Api'; } else { $result = $this->_httpApi($relativeUrl, $xmlStr, 'POST'); } OSM_ZLog::debug(__METHOD__, print_r($result, true)); }