function Comment Missing

This commit is contained in:
Frédéric FRANCE 2018-08-31 22:01:13 +02:00
parent a676f4f64f
commit df6eccc5dd
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
2 changed files with 16 additions and 11 deletions

View File

@ -169,6 +169,12 @@ function invoice_admin_prepare_head()
} }
/**
* Return array head with list of tabs to view object informations.
*
* @param Facture $object Invoice object
* @return array head array with tabs
*/
function invoice_rec_prepare_head($object) function invoice_rec_prepare_head($object)
{ {
global $db, $langs, $conf; global $db, $langs, $conf;

View File

@ -118,7 +118,9 @@ function checkLoginPassEntity($usertotest,$passwordtotest,$entitytotest,$authmod
} }
/** if (! function_exists('dol_loginfunction'))
{
/**
* Show Dolibarr default login page. * Show Dolibarr default login page.
* Part of this code is also duplicated into main.inc.php::top_htmlhead * Part of this code is also duplicated into main.inc.php::top_htmlhead
* *
@ -127,8 +129,6 @@ function checkLoginPassEntity($usertotest,$passwordtotest,$entitytotest,$authmod
* @param Societe $mysoc Company object * @param Societe $mysoc Company object
* @return void * @return void
*/ */
if (! function_exists('dol_loginfunction'))
{
function dol_loginfunction($langs,$conf,$mysoc) function dol_loginfunction($langs,$conf,$mysoc)
{ {
global $dolibarr_main_demo,$db; global $dolibarr_main_demo,$db;
@ -510,4 +510,3 @@ function getRandomPassword($generic=false)
return $generated_password; return $generated_password;
} }