Skip to content

Commit 99e5c46

Browse files
authored
Merge pull request #1867 from Sekiphp/api2/get-location-fix-arg
API: _getLocation - removed unused argument; fix phpdoc
2 parents a901d79 + 04837f7 commit 99e5c46

File tree

1 file changed

+1
-2
lines changed
  • app/code/core/Mage/Catalog/Model/Api2/Product/Website

1 file changed

+1
-2
lines changed

app/code/core/Mage/Catalog/Model/Api2/Product/Website/Rest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,13 @@ protected function _create(array $data)
103103
$this->_critical(self::RESOURCE_INTERNAL_ERROR);
104104
}
105105

106-
return $this->_getLocation($website, $product);
106+
return $this->_getLocation($website);
107107
}
108108

109109
/**
110110
* Product website assign
111111
*
112112
* @param array $data
113-
* @return string
114113
*/
115114
protected function _multiCreate(array $data)
116115
{

0 commit comments

Comments
 (0)