MCPcopy Create free account
hub / github.com/dannybd/courseroad / setPublicRoad

Method setPublicRoad

CourseRoadDB.php:409–416  ·  view source on GitHub ↗

* Sets a hash as a public road for a given user * * Since only one road per user may be public, this also sets all of their * other roads to not be the public road at the same time. If you feed in no * hash at all, then this unsets any public road for that user. * * @param string $hash a string of the road hash to set as the public * @param string $athena a string of the use

($hash, $athena)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ajax.phpFile · 0.80

Calls 1

_executeStatementMethod · 0.95

Tested by

no test coverage detected