1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

Factory for e_user_provider

This commit is contained in:
Nick Liu
2020-02-19 18:25:25 +01:00
parent a91fa2c9b8
commit dc66b508bf
3 changed files with 17 additions and 10 deletions

View File

@@ -1541,8 +1541,7 @@ class e_user extends e_user_model
if($this->get('user_xup'))
{
$providerId = $this->getProviderName();
require_once(e_HANDLER.'user_handler.php');
$this->_provider = new e_user_provider($providerId);
$this->_provider = e107::getUserProvider($providerId);
$this->_provider->init();
}