Skip to content
Snippets Groups Projects
Commit 08cd86fb authored by xamgore's avatar xamgore
Browse files

Renamed function to a new style

parent 59974eab
Branches
Tags
No related merge requests found
......@@ -776,7 +776,8 @@ END //
DROP PROCEDURE IF EXISTS GetDisciplineInfo//
CREATE PROCEDURE `GetDisciplineInfo` (
DROP PROCEDURE IF EXISTS Discipline_GetInfo//
CREATE PROCEDURE `Discipline_GetInfo` (
IN `pDisciplineID` INT
) NO SQL
BEGIN
......
......@@ -31,7 +31,7 @@ class Model_Discipline extends Model_Container
* @throws HTTP_Exception if discipline does not exist
*/
protected function getInfo($id) {
$sql = "CALL `GetDisciplineInfo`('$id'); ";
$sql = "CALL `Discipline_GetInfo`('$id'); ";
$info = DB::query(Database::SELECT, $sql)->execute();
if ($info->count() == 0)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment