1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Update plugin_class.php

This commit is contained in:
Gábor 2016-11-26 08:19:36 +01:00 committed by GitHub
parent 98fbcf499b
commit ac77918946

View File

@ -2047,8 +2047,7 @@ class e107plugin
case 'refresh':
if ($currentPref != $pathEntry)
{
$message = e107::getParser()->lanVars(EPL_ADLAN_247, array('x'=> $plugin, 'y'=> $prefName));
$mes->addDebug($message);
$mes->addDebug('Adding '.$plugin.' to '.$prefName);
$core->setPref($prefName.'/'.$plugin, $pathEntry);
$updated = true;
}
@ -2056,8 +2055,7 @@ class e107plugin
case 'uninstall':
if ($currentPref)
{
$message = e107::getParser()->lanVars(EPL_ADLAN_248, array('x'=> $plugin, 'y'=> $prefName));
$mes->addDebug($message);
$mes->addDebug('Removing '.$plugin.' from '.$prefName);
$core->removePref($prefName.'/'.$plugin);
$updated = true;
}