mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Some corrections
This commit is contained in:
@@ -2510,7 +2510,7 @@ class e107plugin
|
|||||||
$ret = $config->add($key, $value);
|
$ret = $config->add($key, $value);
|
||||||
if($ret->data_has_changed == TRUE)
|
if($ret->data_has_changed == TRUE)
|
||||||
{
|
{
|
||||||
$mes->addSuccess(EPL_ADLAN_241." ".$key);
|
$mes->addSuccess(EPL_ADLAN_241, $key);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -2520,19 +2520,19 @@ class e107plugin
|
|||||||
|
|
||||||
{
|
{
|
||||||
$config->remove($key, $value);
|
$config->remove($key, $value);
|
||||||
$mes->addSuccess(EPL_ADLAN_242." ".$key);
|
$mes->addSuccess(EPL_ADLAN_242, $key);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$config->update($key, $value);
|
$config->update($key, $value);
|
||||||
$mes->addSuccess(EPL_ADLAN_243." ".$key);
|
$mes->addSuccess(EPL_ADLAN_243, $key);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'uninstall':
|
case 'uninstall':
|
||||||
$config->remove($key, $value);
|
$config->remove($key, $value);
|
||||||
$mes->addSuccess(EPL_ADLAN_242." ".$key);
|
$mes->addSuccess(EPL_ADLAN_242, $key);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user