HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once
This commit is contained in:
committed by
davidcallizaya
parent
d72b7aa561
commit
60efcf7ac7
@@ -46,7 +46,6 @@ $G_ID_SUB_MENU_SELECTED = 'DB_CONNECTIONS';
|
||||
|
||||
$G_PUBLISH = new Publisher();
|
||||
|
||||
G::LoadClass( 'processMap' );
|
||||
$oProcess = new processMap();
|
||||
$oCriteria = $oProcess->getConditionProcessList();
|
||||
if (ProcessPeer::doCount( $oCriteria ) > 0) {
|
||||
|
||||
@@ -45,13 +45,9 @@ if (isset( $_POST['PROCESS'] )) {
|
||||
}
|
||||
|
||||
#Global Definitions
|
||||
require_once 'classes/model/DbSource.php';
|
||||
require_once 'classes/model/Content.php';
|
||||
|
||||
$G_PUBLISH = new Publisher();
|
||||
G::LoadClass( 'processMap' );
|
||||
G::LoadClass( 'ArrayPeer' );
|
||||
G::LoadClass( 'dbConnections' );
|
||||
|
||||
global $_DBArray;
|
||||
|
||||
switch ($action) {
|
||||
@@ -210,8 +206,6 @@ switch ($action) {
|
||||
case 'testConnection':
|
||||
sleep( 0 );
|
||||
|
||||
G::LoadClass("net");
|
||||
|
||||
define("SUCCESSFULL", "SUCCESSFULL");
|
||||
define("FAILED", "FAILED");
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
*/
|
||||
if (isset( $_SESSION['PROCESS'] )) {
|
||||
$pro = include (PATH_CORE . "config/databases.php");
|
||||
G::LoadClass( 'dbConnections' );
|
||||
|
||||
$oDbConnections = new dbConnections( $_SESSION['PROCESS'] );
|
||||
foreach ($oDbConnections->connections as $db) {
|
||||
|
||||
Reference in New Issue
Block a user