mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
replaced calls to deprecated plugInstalled() with e107::isInstalled()
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
require_once("../../class2.php");
|
||||
|
||||
if (!plugInstalled('chatbox_menu') || !getperms("P"))
|
||||
if (!e107::isInstalled('chatbox_menu') || !getperms("P"))
|
||||
{
|
||||
header("Location: ".e_BASE."index.php");
|
||||
exit;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
require_once('../../class2.php');
|
||||
if (!plugInstalled('chatbox_menu'))
|
||||
if (!e107::isInstalled('chatbox_menu'))
|
||||
{
|
||||
header('Location: '.e_BASE.'index.php');
|
||||
exit;
|
||||
|
@@ -30,7 +30,7 @@ $pref = e107::getPref();
|
||||
|
||||
|
||||
|
||||
if (!plugInstalled('chatbox_menu'))
|
||||
if (!e107::isInstalled('chatbox_menu'))
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user