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:
@@ -235,7 +235,7 @@ try {
|
||||
function getLDAPAdvanceInstance($authUid)
|
||||
{
|
||||
$RBAC = &RBAC::getSingleton();
|
||||
$ldapAdvanced = new ldapAdvanced();
|
||||
$ldapAdvanced = new LdapAdvanced();
|
||||
$ldapAdvanced->sAuthSource = $authUid;
|
||||
$ldapAdvanced->sSystem = $RBAC->sSystem;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -48,7 +48,7 @@ class ldapadvancedClassCron
|
||||
$rbac->authSourcesObj = new AuthenticationSource();
|
||||
}
|
||||
|
||||
$plugin = new ldapAdvanced();
|
||||
$plugin = new LdapAdvanced();
|
||||
$plugin->sSystem = $rbac->sSystem;
|
||||
|
||||
$plugin->setFrontEnd(true);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -92,7 +92,7 @@ switch ($request) {
|
||||
$SMTPSecure = $_POST['SMTPSecure'];
|
||||
$timeout = 10;
|
||||
|
||||
$Server = new NET( $srv );
|
||||
$Server = new Net( $srv );
|
||||
$smtp = new SMTP();
|
||||
|
||||
switch ($step) {
|
||||
|
||||
Reference in New Issue
Block a user