From 60c6a16a6e690df7a2a4bcf63901c29ffe38b36a Mon Sep 17 00:00:00 2001 From: David Callizaya Date: Fri, 11 Aug 2017 16:41:04 -0400 Subject: [PATCH] HOR-3670 Fix class name PmPhing --- workflow/engine/classes/PmPhing.php | 40 ++--------------------------- workflow/engine/classes/PmTable.php | 2 +- 2 files changed, 3 insertions(+), 39 deletions(-) diff --git a/workflow/engine/classes/PmPhing.php b/workflow/engine/classes/PmPhing.php index 20592272f..0c4175324 100644 --- a/workflow/engine/classes/PmPhing.php +++ b/workflow/engine/classes/PmPhing.php @@ -1,48 +1,12 @@ . - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ /** * Phing Class Wrapper * - * @author Erik Amaru Ortiz */ - -include_once 'phing/Phing.php'; -set_include_path( PATH_THIRDPARTY . 'propel-generator/classes/' . PATH_SEPARATOR . get_include_path() ); - -if (! class_exists( 'Phing' )) { - throw new Exception( 'Fatal Error: Phing is not loaded!' ); -} - - -class pmPhing extends Phing +class PmPhing extends Phing { - - public function getPhingVersion () + public function getPhingVersion() { return 'pmPhing Ver 1.0'; } diff --git a/workflow/engine/classes/PmTable.php b/workflow/engine/classes/PmTable.php index ac7d60d87..e0c592910 100644 --- a/workflow/engine/classes/PmTable.php +++ b/workflow/engine/classes/PmTable.php @@ -914,7 +914,7 @@ class PmTable Phing::startup(); Phing::setProperty('phing.home', getenv('PHING_HOME')); - $m = new pmPhing(); + $m = new PmPhing(); $m->execute($args); $m->runBuild(); }