Commit
a3328b1eef78 ("Requires address validation properly, ie when
addresses are saved") modified Address::updateGeocoding and the new
version no longer uses its parameter.
return $best_mail;
}
- public function updateGeocoding($text)
+ public function updateGeocoding()
{
XDB::execute('UPDATE profile_addresses
SET text = {?}, postalText = {?}, types = {?}, formatted_address = {?},
$this->address['changed'] = 0;
$address = new Address($this->address);
$address->format();
- $address->updateGeocoding($this->given_text);
+ $address->updateGeocoding();
return true;
}