Removed duplicated code from core modules

This commit is contained in:
Marcos García de La Fuente
2015-07-07 13:06:56 +02:00
parent 98344746cf
commit eff573e753
62 changed files with 0 additions and 1451 deletions

View File

@@ -237,21 +237,4 @@ class modCommande extends DolibarrModules
return $this->_init($sql,$options);
}
/**
* Function called when module is disabled.
* Remove from database constants, boxes and permissions from Dolibarr database.
* Data directories are not deleted
*
* @param string $options Options when enabling module ('', 'newboxdefonly', 'noboxes')
* @return int 1 if OK, 0 if KO
*/
function remove($options='')
{
$sql = array();
return $this->_remove($sql,$options);
}
}