From a8d671e87c782e0137893c2deefbb7f27ca81c00 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 15 Mar 2018 18:18:48 +0100 Subject: [PATCH] fix Namespace change --- .../module/{departement => department}/saveController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename build/api/module/{departement => department}/saveController.php (91%) diff --git a/build/api/module/departement/saveController.php b/build/api/module/department/saveController.php similarity index 91% rename from build/api/module/departement/saveController.php rename to build/api/module/department/saveController.php index 05175aa..e48ecb3 100644 --- a/build/api/module/departement/saveController.php +++ b/build/api/module/department/saveController.php @@ -6,11 +6,11 @@ * Time: 15:50 */ -namespace api\module\departement; +namespace api\module\department; use database\core\Repo; -use database\repo\departement; +use database\repo\department; use Ifsnop\Mysqldump\Mysqldump; class saveController @@ -82,8 +82,8 @@ class saveController readgzfile($this->backupPath.$backupName.".sql"); $sql = ob_get_clean(); - /** @var departement $depRepo */ - $depRepo = Repo::getRepo("departement"); + /** @var department $depRepo */ + $depRepo = Repo::getRepo("department"); $depRepo->restore($sql);