HOR-3670-RG-2 Files review:

workflow/engine/classes/LdapAdvanced.php
workflow/engine/classes/License_Application.php
workflow/engine/classes/MultipleFilesBackup.php
workflow/engine/classes/NET.php
workflow/engine/classes/ObjectCellection.php
This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-08-11 15:54:49 -04:00
parent 231fed51d2
commit 24770dbd92
23 changed files with 822 additions and 919 deletions

View File

@@ -235,7 +235,7 @@ try {
function getLDAPAdvanceInstance($authUid)
{
$RBAC = &RBAC::getSingleton();
$ldapAdvanced = new ldapAdvanced();
$ldapAdvanced = new LdapAdvanced();
$ldapAdvanced->sAuthSource = $authUid;
$ldapAdvanced->sSystem = $RBAC->sSystem;

View File

@@ -152,7 +152,7 @@ switch ($function) {
$aFields['AUTH_SOURCE_DATA'] = $aData;
//LDAP_PAGE_SIZE_LIMIT
$ldapAdvanced = new ldapAdvanced();
$ldapAdvanced = new LdapAdvanced();
try {
$arrayAuthenticationSourceData = $aFields;
@@ -205,7 +205,7 @@ switch ($function) {
//Get data
$arrayData = array();
$ldapAdvanced = new ldapAdvanced();
$ldapAdvanced = new LdapAdvanced();
$ldapAdvanced->sAuthSource = $authenticationSourceUid;
$result = $ldapAdvanced->searchUsers($keyword, $start, $limit);
@@ -345,7 +345,7 @@ switch ($function) {
$arrayAuthenticationSourceData['AUTH_SOURCE_VERSION'] = 3;
//Test connection
$ldapAdvanced = new ldapAdvanced();
$ldapAdvanced = new LdapAdvanced();
$ldapcnn = $ldapAdvanced->ldapConnection($arrayAuthenticationSourceData);

View File

@@ -240,7 +240,7 @@ switch ($action) {
}
}
$Server = new NET($server);
$Server = new Net($server);
switch ($step) {
case 1:
@@ -305,7 +305,7 @@ switch ($action) {
$connectionType = $_POST["connectionType"];
$tns = $_POST["tns"];
$net = new NET();
$net = new Net();
switch ($step) {
case 1:

View File

@@ -48,7 +48,7 @@ class ldapadvancedClassCron
$rbac->authSourcesObj = new AuthenticationSource();
}
$plugin = new ldapAdvanced();
$plugin = new LdapAdvanced();
$plugin->sSystem = $rbac->sSystem;
$plugin->setFrontEnd(true);

View File

@@ -26,7 +26,7 @@ function testConnection($type, $server, $user, $passwd, $port = 'none', $dbName
}
}
$Server = new NET($server);
$Server = new Net($server);
$filter = new InputFilter();
if ($Server->getErrno() == 0) {

View File

@@ -92,7 +92,7 @@ switch ($request) {
$SMTPSecure = $_POST['SMTPSecure'];
$timeout = 10;
$Server = new NET( $srv );
$Server = new Net( $srv );
$smtp = new SMTP();
switch ($step) {