BUG 5978 Allow plugins to set tasks for the CLI

Plugins with a bin/tasks directory will be included
in the list of tasks of processmaker CLI.
This commit is contained in:
Alexandre Rosenfeld
2011-03-28 18:22:27 -04:00
parent 34a0a5d5e8
commit cbc69e7cc5
2 changed files with 8 additions and 1 deletions

View File

@@ -200,7 +200,7 @@ class workspaceTools {
* @param bool $root wheter to also initialize a root connection
* @return the Propel connection
*/
private function initPropel($root = false) {
public function initPropel($root = false) {
if (($this->initPropel && !$root) || ($this->initPropelRoot && $root))
return;
$wfDetails = $this->getDBCredentials("wf");