1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

replaced calls to deprecated plugInstalled() with e107::isInstalled()

This commit is contained in:
Cameron
2015-02-07 13:38:29 -08:00
parent 1f17a57d4e
commit fbb0b63ae9
37 changed files with 39 additions and 39 deletions

View File

@@ -11,7 +11,7 @@
*
*/
require_once("../../class2.php");
if (!getperms("P") || !plugInstalled('newsfeed'))
if (!getperms("P") || !e107::isInstalled('newsfeed'))
{
header("location:".e_BASE."index.php");
exit;

View File

@@ -16,7 +16,7 @@
*/
if (!defined('e107_INIT')) { exit; }
if (!plugInstalled('newsfeed'))
if (!e107::isInstalled('newsfeed'))
{
return;
}

View File

@@ -15,7 +15,7 @@
*
*/
if (!defined('e107_INIT')) { exit; }
if (!plugInstalled('newsfeed'))
if (!e107::isInstalled('newsfeed'))
{
return;
}

View File

@@ -15,7 +15,7 @@
*
*/
require_once('../../class2.php');
if (!plugInstalled('newsfeed'))
if (!e107::isInstalled('newsfeed'))
{
header("location:".e_BASE."index.php");
exit;

View File

@@ -24,7 +24,7 @@ feed refresh time has expired, the cache is updated.
*/
if (!defined('e107_INIT')) { exit; }
if (!plugInstalled('newsfeed'))
if (!e107::isInstalled('newsfeed'))
{
return;
}

View File

@@ -15,7 +15,7 @@
*
*/
if (!defined('e107_INIT')) { exit; }
if (!plugInstalled('newsfeed'))
if (!e107::isInstalled('newsfeed'))
{
return '';
}