1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-02 19:02:39 +02:00

Update function calls where moved from e107_class.php to iphandler_class.php

This commit is contained in:
e107steved
2012-01-02 22:06:22 +00:00
parent 7998e4f247
commit 8962c13f50
33 changed files with 87 additions and 53 deletions

View File

@@ -1334,7 +1334,7 @@ class users
break;
case 'user_ip':
return $e107->ipDecode($row['user_ip']);
return e107::getIPHandler()->ipDecode($row['user_ip']);
break;
@@ -1775,7 +1775,7 @@ class users
}
else
{
if ($e107->add_ban(6,USRLAN_149.$row['user_name'].'/'.$row['user_loginname'],$row['user_ip'],USERID))
if (e107::getIPHandler()->add_ban(6,USRLAN_149.$row['user_name'].'/'.$row['user_loginname'],$row['user_ip'],USERID))
{
// Successful IP ban
$this->show_message(str_replace("{IP}",$row['user_ip'],USRLAN_137));