Add @ignore so scrutinizer ignores duplicate definition of llxHeader
This commit is contained in:
parent
eb20df8e64
commit
3f2ba2780f
@ -39,6 +39,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX', '1');
|
||||
/**
|
||||
* Empty header
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxHeader()
|
||||
@ -48,9 +49,11 @@ function llxHeader()
|
||||
print '<title>Asterisk redirection from Dolibarr...</title>'."\n";
|
||||
print '</head>'."\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* Empty footer
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxFooter()
|
||||
|
||||
@ -55,6 +55,7 @@ if ((isset($_GET["modulepart"]) && $_GET["modulepart"] == 'medias'))
|
||||
/**
|
||||
* Header empty
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxHeader()
|
||||
@ -63,6 +64,7 @@ function llxHeader()
|
||||
/**
|
||||
* Footer empty
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxFooter()
|
||||
|
||||
@ -21,12 +21,23 @@
|
||||
* \brief Show example of import file
|
||||
*/
|
||||
|
||||
// This file is a wrapper, so empty header
|
||||
/**
|
||||
* This file is a wrapper, so empty header
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxHeader()
|
||||
{
|
||||
print '<html><title>Build an import example file</title><body>';
|
||||
}
|
||||
// This file is a wrapper, so empty footer
|
||||
|
||||
/**
|
||||
* This file is a wrapper, so empty footer
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxFooter()
|
||||
{
|
||||
print '</body></html>';
|
||||
|
||||
@ -122,7 +122,7 @@ function get_server_name()
|
||||
global $dolibarr_main_url_root;
|
||||
|
||||
$urlwithouturlroot=preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root));
|
||||
$urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
||||
//$urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
||||
//$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
|
||||
|
||||
$url=$urlwithouturlroot.dol_buildpath('/opensurvey/', 1);
|
||||
|
||||
@ -66,6 +66,7 @@ if (is_numeric($entity)) define("DOLENTITY", $entity);
|
||||
/**
|
||||
* Header empty
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxHeader()
|
||||
@ -74,6 +75,7 @@ function llxHeader()
|
||||
/**
|
||||
* Footer empty
|
||||
*
|
||||
* @ignore
|
||||
* @return void
|
||||
*/
|
||||
function llxFooter()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user