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

Method copyRoad

CourseRoadDB.php:489–498  ·  view source on GitHub ↗

* Copies a road's hash when a user saves with login * * When a user logs in, we need to duplicate their just-saved road into a * road saved under their username. This copies the road and saves it with * the correct user. * * @param string $oldhash a string of the old road hash * @param string $newhash a string of the new road hash * @param string $athena a string of the us

($oldhash, $newhash, $athena)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

secure.phpFile · 0.80

Calls 1

_executeStatementMethod · 0.95

Tested by

no test coverage detected