[module.professor] -Removed 'GET professor/stats'

This commit is contained in:
xdrm-brackets 2018-03-17 13:18:37 +01:00
parent d8e74ada8a
commit 466d197246
2 changed files with 0 additions and 40 deletions

View File

@ -1,29 +0,0 @@
<?php
/**
* Created by PhpStorm.
* User: lucas
* Date: 27/02/18
* Time: 16:19
*/
namespace api\module\professor;
use database\core\Repo;
use database\repo\professor;
class statsController{
public static function get($args){
$idProf = 0;
extract($args);
//get data from the database
/** @var professor $profRepo */
$profRepo = Repo::getRepo("professor");
$VH = $profRepo->getWithVH($idProf);
return ["data" => $VH];
}
}

View File

@ -184,17 +184,6 @@
}
},
"stats": {
"GET":{
"des": "Get statistics of the professor",
"per": [],
"par":{
"URL0": {"des" : "Id of the professor", "typ": "id", "ren": "idProf", "opt" : false}
}
}
},
"filter": {
"POST": {
"des": "Get matching professors (only ids) for a given filter",