mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
replaced calls to deprecated plugInstalled() with e107::isInstalled()
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
//include and require several classes
|
||||
require_once("../../class2.php");
|
||||
if(!getperms("1") || !plugInstalled('list_new'))
|
||||
if(!getperms("1") || !e107::isInstalled('list_new'))
|
||||
{
|
||||
header("location:".e_BASE."index.php");
|
||||
exit ;
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
require_once("../../class2.php");
|
||||
|
||||
if (!plugInstalled('list_new'))
|
||||
if (!e107::isInstalled('list_new'))
|
||||
{
|
||||
header("Location: ".e_BASE."index.php");
|
||||
exit;
|
||||
|
@@ -527,7 +527,7 @@ class listclass
|
||||
}
|
||||
else
|
||||
{
|
||||
if (plugInstalled($file))
|
||||
if (e107::isInstalled($file))
|
||||
{
|
||||
if(is_readable(e_PLUGIN.$file."/e_list.php"))
|
||||
{
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
if (!plugInstalled('list_new'))
|
||||
if (!e107::isInstalled('list_new'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
if (!plugInstalled('list_new'))
|
||||
if (!e107::isInstalled('list_new'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user