From a924e5eac8aaa66dec05c2a2cc4963b926689f69 Mon Sep 17 00:00:00 2001
From: xamgore <xamgore@ya.ru>
Date: Wed, 11 Mar 2015 19:08:06 +0300
Subject: [PATCH] Spell check error: there is no word "departament" in english

---
 .../Controller/Admin/{Departaments.php => Departments.php}  | 6 +++---
 ~dev_rating/application/classes/Model/Admin/Teachers.php    | 4 ++--
 ~dev_rating/application/classes/Model/DataArr/Teachers.php  | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)
 rename ~dev_rating/application/classes/Controller/Admin/{Departaments.php => Departments.php} (65%)

diff --git a/~dev_rating/application/classes/Controller/Admin/Departaments.php b/~dev_rating/application/classes/Controller/Admin/Departments.php
similarity index 65%
rename from ~dev_rating/application/classes/Controller/Admin/Departaments.php
rename to ~dev_rating/application/classes/Controller/Admin/Departments.php
index 98d40efa7..2bb8c741d 100644
--- a/~dev_rating/application/classes/Controller/Admin/Departaments.php
+++ b/~dev_rating/application/classes/Controller/Admin/Departments.php
@@ -1,10 +1,10 @@
 <?php defined('SYSPATH') or die('No direct script access.');
 
-class Controller_Admin_Departaments extends Controller_UserEnvi {
+class Controller_Admin_Departments extends Controller_UserEnvi {
 
     public function action_index()
     {
-        $twig = Twig::factory('admin/departaments/index');
+        $twig = Twig::factory('admin/departments/index');
         
         $twig->User = $this->UserInfo;
         $this->response->body($twig);
@@ -12,7 +12,7 @@ class Controller_Admin_Departaments extends Controller_UserEnvi {
     
     public function action_upload()
     {
-        $twig = Twig::factory('admin/departaments/upload');
+        $twig = Twig::factory('admin/departments/upload');
         
         $twig->User = $this->UserInfo;
         $this->response->body($twig);
diff --git a/~dev_rating/application/classes/Model/Admin/Teachers.php b/~dev_rating/application/classes/Model/Admin/Teachers.php
index c1c21cb7f..a91689061 100644
--- a/~dev_rating/application/classes/Model/Admin/Teachers.php
+++ b/~dev_rating/application/classes/Model/Admin/Teachers.php
@@ -25,9 +25,9 @@ class Model_Admin_Teachers extends Model
     }
 
     /** @deprecated */
-    public function getTeachersByDepartment($departamentID)
+    public function getTeachersByDepartment($departmentID)
     {
-        $sql = "CALL `GetTeachersByDepartment`('$departamentID'); ";
+        $sql = "CALL `GetTeachersByDepartment`('$departmentID'); ";
         return DB::query(Database::SELECT, $sql)->execute();
     }
 
diff --git a/~dev_rating/application/classes/Model/DataArr/Teachers.php b/~dev_rating/application/classes/Model/DataArr/Teachers.php
index 6213f8b4c..51b6be545 100644
--- a/~dev_rating/application/classes/Model/DataArr/Teachers.php
+++ b/~dev_rating/application/classes/Model/DataArr/Teachers.php
@@ -10,9 +10,9 @@ class Model_DataArr_Teachers extends Model
     }
 
     /** @deprecated */
-    public function getTeachersByDepartment($departamentID)
+    public function getTeachersByDepartment($departmentID)
     {
-        $sql = "CALL `GetTeachersByDepartment`('$departamentID'); ";
+        $sql = "CALL `GetTeachersByDepartment`('$departmentID'); ";
         return DB::query(Database::SELECT, $sql)->execute();
     }
 
-- 
GitLab