PM-2835 "Adicionar los siguientes features..." SOLVED
Issue:
Adicionar los siguientes features la posibilidad de seleccionarse en la licencia (features):
- Code Scanner
- Multiple Email Servers
- Mobile Fields
Cause:
Nuevo validacion de licencia para features
Solution:
Se agrego validacion de licencia para los features especificados
This commit is contained in:
@@ -80,7 +80,7 @@ class CodeScanner
|
||||
public function existsDisabledCode()
|
||||
{
|
||||
try {
|
||||
return count($this->arrayDisabledCode) > 0;
|
||||
return !empty($this->arrayDisabledCode);
|
||||
} catch (Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
@@ -174,7 +174,7 @@ class CodeScanner
|
||||
|
||||
$arrayAux = $this->checkDisabledCodeInSource($source);
|
||||
|
||||
if (count($arrayAux) > 0) {
|
||||
if (!empty($arrayAux)) {
|
||||
$arrayFoundCode["source"] = $arrayAux;
|
||||
}
|
||||
break;
|
||||
@@ -202,7 +202,7 @@ class CodeScanner
|
||||
|
||||
$arrayAux = $this->checkDisabledCodeInSource($source);
|
||||
|
||||
if (count($arrayAux) > 0) {
|
||||
if (!empty($arrayAux)) {
|
||||
$arrayFoundCode[$path] = $arrayAux;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user