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

PHP8 Plugin code cleanup

This commit is contained in:
Cameron
2021-01-21 09:38:38 -08:00
parent 9e0d014e39
commit f055b49d91
83 changed files with 753 additions and 675 deletions

View File

@@ -15,7 +15,7 @@ if(isset($_POST['chatbox_ajax']))
define('e_MINIMAL', true);
if(!defined('e107_INIT'))
{
require_once('../../class2.php');
require_once(__DIR__.'/../../class2.php');
}
}
@@ -232,7 +232,7 @@ if($emessage !== '')
}
if(!$text = $e107cache->retrieve('nq_chatbox'))
if(!$text = e107::getCache()->retrieve('nq_chatbox'))
{
global $pref, $tp;
@@ -317,7 +317,7 @@ if(!$text = $e107cache->retrieve('nq_chatbox'))
: CHATBOX_L12) . '</a> (' . $total_chats . ')</div>';
}
$e107cache->set('nq_chatbox', $text);
e107::getCache()->set('nq_chatbox', $text);
}