From 095e745802368d3879471e722f4e384b57c7f683 Mon Sep 17 00:00:00 2001 From: xamgore <xamgore@ya.ru> Date: Tue, 15 Sep 2015 18:30:18 +0300 Subject: [PATCH] Removed redundant comments --- .../application/classes/Controller/Office/Students.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/~dev_rating/application/classes/Controller/Office/Students.php b/~dev_rating/application/classes/Controller/Office/Students.php index 05f604465..c676cd00e 100644 --- a/~dev_rating/application/classes/Controller/Office/Students.php +++ b/~dev_rating/application/classes/Controller/Office/Students.php @@ -13,7 +13,7 @@ class Controller_Office_Students extends Controller_Environment_Office $this->twig->set([ 'Faculties' => $this->user->isAdmin() ? Model_Faculties::load() : [], - 'GradesList' => Model_Grades::loadAll() # todo: ->as_array('Degree'), + 'GradesList' => Model_Grades::loadAll(), ])->set_filename(static::OFFICE . 'students/search'); } @@ -32,7 +32,7 @@ class Controller_Office_Students extends Controller_Environment_Office ])->set_filename(static::OFFICE . 'students/add'); } - public function action_upload() { // FIXME: ПОЧЕМУ это не хендлер????? + public function action_upload() { $errors = []; if (!empty($_FILES['students']) && $this->request->method() == 'POST') { -- GitLab