Remove require_once

This commit is contained in:
Paula Quispe
2017-08-04 17:44:29 -04:00
parent 6fbefec225
commit d008d29e20
4 changed files with 1 additions and 15 deletions

View File

@@ -1,5 +1,4 @@
<?php
require_once('classes/model/AppCacheView.php');
$filter = new InputFilter();
$_POST = $filter->xssFilterHard($_POST);

View File

@@ -34,7 +34,6 @@ try {
$_POST['function'] = $filter->xssFilterHard($_POST['function']);
switch ($_POST['function']) {
case 'savePredetermined':
require_once "classes/model/Translation.php";
$tranlationsList = Translation::getTranslationEnvironments();
g::pr( $tranlationsList );
die();
@@ -46,7 +45,7 @@ try {
break;
case 'languagesList':
$isoCountry = new isoCountry();
$isoCountry = new IsoCountry();
$translationRow = new Translation();
$response = new stdClass();
$translationsEnvList = $translationRow->getTranslationEnvironments();