HOR-3629
This commit is contained in:
@@ -22,7 +22,7 @@ use IsoLocationPeer;
|
||||
use IsoSubdivisionPeer;
|
||||
use ListParticipatedLast;
|
||||
use PMmemcached;
|
||||
use PMPluginRegistry;
|
||||
use ProcessMaker\Plugins\PluginRegistry;
|
||||
use ProcessMaker\Util\DateTime;
|
||||
use ProcessMaker\Util\System;
|
||||
use Propel;
|
||||
@@ -869,7 +869,7 @@ class User
|
||||
public function createUser($userData)
|
||||
{
|
||||
$this->userObj = new RbacUsers();
|
||||
if (class_exists('PMPluginRegistry')) {
|
||||
if (class_exists('ProcessMaker\Plugins\PluginRegistry')) {
|
||||
$pluginRegistry = PluginRegistry::loadSingleton();
|
||||
if ($pluginRegistry->existsTrigger(PM_BEFORE_CREATE_USER)) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user