mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Deprecated Function cleanup and PHP Notice removal.
This commit is contained in:
@@ -229,7 +229,7 @@
|
||||
|
||||
if($user_profile->identifier >0)
|
||||
{
|
||||
if (!$sql->db_Select("user", "*", "user_xup = '".$prov_id."' ")) // New User
|
||||
if (!$sql->select("user", "*", "user_xup = '".$prov_id."' ")) // New User
|
||||
{
|
||||
$user_join = time();
|
||||
$user_pass = md5($user_profile->identifier.$user_join);
|
||||
@@ -245,7 +245,7 @@
|
||||
'user_xup' => $prov_id
|
||||
);
|
||||
|
||||
if($newid = $sql->db_Insert('user',$insert,true))
|
||||
if($newid = $sql->insert('user',$insert,true))
|
||||
{
|
||||
e107::getEvent()->trigger('usersup', $insert);
|
||||
if(!USERID)
|
||||
|
Reference in New Issue
Block a user