diff --git a/api.php b/api.php index 3ae877a..e67a911 100644 --- a/api.php +++ b/api.php @@ -1152,37 +1152,6 @@ switch($request[0]) { $ret['status'] = 'ok'; break; - case 'specialawards': - switch($request[2]){ - /* APIDOC: project/specialawards/view - description(view the special awards available, flagged as whether or not they're selected for this user's project.) - */ - case 'view': - $u = user_load($_SESSION['users_id']); - $projectId = getProjectId($u['registrations_id']); - if($projectId !== null){ - $ret['status'] = 'ok'; - $ret['awards'] = getAwardListing($projectId); - }else{ - $ret['status'] = 'error'; - $ret['error'] = 'could not load project for registriation id #' . $u['registrations_id']; - } - break; - - - /* APIDOC: project/specialawards/edit - description:(update the special awards assigned to this project) - post(awards array) - description(expects an array in the - */ - case 'edit': - //$nominations = json_decode($_POST['awards'], true); - - break; - - } - break; - case 'mentor': switch($request[2]){ /* APIDOC: project/mentor/edit