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

Method isHashSafe

CourseRoadDB.php:287–298  ·  view source on GitHub ↗

* Checks whether a hash is safe to overwrite * * Make sure that the newly saved hash won't overwrite a prior road * with a different set of classes or majors, but with the same road. * Useful for making sure a saved road's hash doesn't hide access to a road * saved earlier. * * @param string $hash a string of the road hash to check * @param string $classes a string of th

($hash, $classes, $majors)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ajax.phpFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected