<?xml version="1.0" encoding="UTF-8"?>
<config>
- <version>1.4.0</version>
+ <version>1.4.1</version>
<params>
<parent>parent</parent>
public function enable($env){
$data = $env->data();
- if(
- ($data->config("site_name") == "mtweb")
- && (($plugins = $env->plugins()) !== false)
- && (count($plugins) == 1)
- ){
+ if($data->config("site_name") == "mtweb"){
$data->set_config("site_name", "SourceML");
}
return true;
function disable($env){
$data = $env->data();
- if(
- ($data->config("site_name") == "SourceML")
- && (($plugins = $env->plugins()) !== false)
- && (count($plugins) == 1)
- ){
+ if($data->config("site_name") == "SourceML"){
$data->set_config("site_name", "mtweb");
}
return true;