HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once

This commit is contained in:
Chloe Deguzman
2017-02-14 21:24:08 +00:00
committed by davidcallizaya
parent d72b7aa561
commit 60efcf7ac7
461 changed files with 289 additions and 3170 deletions

View File

@@ -1,8 +1,5 @@
<?php
G::LoadClass("Task");
G::LoadClass("TaskUser");
/**
* class, helping to set some not desirable settings but necesary
* @author reav
@@ -26,10 +23,6 @@ class p11835 extends patch
*/
static public function isApplicable()
{
if (! class_exists('System')) {
G::LoadClass("System");
}
patch::$isPathchable = false;
$con = Propel::getConnection("workflow");
$stmt = $con->prepareStatement("describe TASK;");
@@ -94,10 +87,6 @@ class p11835 extends patch
}
}
//Fix BUG-15394
G::LoadClass("configuration");
$conf = new Configurations();
if (!$conf->exists("HOTFIX")) {