Merged in dheeyi/processmaker/HOR-1530 (pull request #4684)

HOR-1530
This commit is contained in:
Julio Cesar Laura Avendaño
2016-08-05 15:40:47 -04:00

View File

@@ -7,6 +7,7 @@
*/
class Bootstrap
{
const hashFx = 'md5';
public static $includeClassPaths = array();
public static $includePaths = array();
protected $relativeIncludePaths = array();
@@ -2967,16 +2968,15 @@ class Bootstrap
}
return false;
}
/**
* encryptOld
*
* @param string $string
*
* @return md5($string)
*/
* @param $string
* @return mixed
*/
public function encryptOld ($string)
{
return md5($string);
$consthashFx = self::hashFx;
return $consthashFx($string);
}
/**