fix Namespace change

This commit is contained in:
Unknown 2018-03-15 18:18:48 +01:00
parent b3990578d3
commit a8d671e87c
1 changed files with 4 additions and 4 deletions

View File

@ -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);