Fix: Bad error management when enabling/disabling modules

This commit is contained in:
Laurent Destailleur
2012-03-21 13:50:59 +01:00
parent 89c906dde6
commit b098838b6f
7 changed files with 13 additions and 22 deletions

View File

@@ -87,10 +87,6 @@ class modMyModule extends DolibarrModules
// Data directories to create when module is enabled.
// Example: this->dirs = array("/mymodule/temp");
$this->dirs = array();
$r=0;
// Relative path to module style sheet if exists. Example: '/mymodule/css/mycss.css'.
//$this->style_sheet = '/mymodule/mymodule.css.php';
// Config pages. Put here list of php page, stored into mymodule/admin directory, to use to setup module.
$this->config_page_url = array("mysetuppage.php@mymodule");