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

Method updateUserPrefs

CourseRoadDB.php:565–579  ·  view source on GitHub ↗

* Update a given user's preferences * * @param string $athena a string of the user's username * @param array $userprefs an associative array of user prefs. Must include * class_year, view_req_lines, autocomplete, * need_permission as keys. * * @return array data on update success * @access public * @static */

($athena, $userprefs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ajax.phpFile · 0.80
secure.phpFile · 0.80

Calls 1

_executeStatementMethod · 0.95

Tested by

no test coverage detected