Method should be static

This commit is contained in:
Raphaël Doursenaud 2013-09-05 16:43:50 +02:00
parent 0c0740cac7
commit 4ca5bc3797

View File

@ -46,7 +46,7 @@ class ModeleExports extends CommonDocGenerator // This class can't be abstrac
* @param string $maxfilenamelength Max length of value to show
* @return array List of templates
*/
function liste_modeles($db,$maxfilenamelength=0)
static function liste_modeles($db,$maxfilenamelength=0)
{
dol_syslog(get_class($this)."::liste_modeles");