MCPcopy Create free account
hub / github.com/Rello/analytics / updateShareDomain

Method updateShareDomain

lib/Db/ShareMapper.php:234–237  ·  view source on GitHub ↗

* Update the domain of a share * used for injecting charts into external sites * @param $shareId * @param $domain * @return bool * @throws Exception */

($shareId, $domain)

Source from the content-addressed store, hash-verified

232 * @throws Exception
233 */
234 public function updateShareDomain($shareId, $domain)
235 {
236 return $this->updateShareField($shareId, 'domain', $domain, 'domain_changed');
237 }
238
239 /**
240 * Update the permissions of a share

Callers 2

updateMethod · 0.80
share-audit.phpFile · 0.80

Calls 1

updateShareFieldMethod · 0.95

Tested by

no test coverage detected