From ba1b282c3bdabd39741bf17033684e98820c76e7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 21 Sep 2012 11:28:28 +0200 Subject: [PATCH] Fix: remove unused code --- htdocs/core/lib/functions2.lib.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php index 6cce89cd240..fda73f05c17 100644 --- a/htdocs/core/lib/functions2.lib.php +++ b/htdocs/core/lib/functions2.lib.php @@ -785,12 +785,6 @@ function get_next_value($db,$mask,$table,$field,$where='',$objsoc='',$date='',$m // Build numFinal $numFinal = $mask; - /* - if ($conf->global->SOCIETE_FISCAL_MONTH_START > 1 && $current_month >= $conf->global->SOCIETE_FISCAL_MONTH_START && $create_month >= $conf->global->SOCIETE_FISCAL_MONTH_START) - { - $this->yy = substr(strftime("%Y",mktime(0,0,0,date("m"),date("d"),date("Y")+1)),$numbityear); - } - */ // We replace special codes except refclient $numFinal = preg_replace('/\{yyyy\}/i',date("Y",$date)+$yearoffset, $numFinal);