mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
replaced calls to deprecated plugInstalled() with e107::isInstalled()
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
require_once("../../class2.php");
|
||||
if (!is_object($tp)) $tp = new e_parse;
|
||||
if (!getperms("P") || !plugInstalled('poll'))
|
||||
if (!getperms("P") || !e107::isInstalled('poll'))
|
||||
{
|
||||
header("location:".e_BASE."index.php");
|
||||
exit;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
require_once("../../class2.php");
|
||||
if (!plugInstalled('poll'))
|
||||
if (!e107::isInstalled('poll'))
|
||||
{
|
||||
header("Location: ".e_BASE."index.php");
|
||||
exit;
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
require_once('../../class2.php');
|
||||
if (!plugInstalled('poll'))
|
||||
if (!e107::isInstalled('poll'))
|
||||
{
|
||||
header('Location: '.e_BASE.'index.php');
|
||||
exit;
|
||||
|
Reference in New Issue
Block a user