1
0
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:
Cameron
2016-02-15 00:56:08 -08:00
parent cb75547c27
commit 2c50a06517
24 changed files with 85 additions and 80 deletions

View File

@@ -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)