Code comment
This commit is contained in:
parent
8e19b235f1
commit
c360189d94
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2010-2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2010-2014 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2010-2014 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
* Copyright (C) 2010-2011 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2010-2011 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
@ -143,6 +143,7 @@ class HookManager
|
|||||||
'formObjectOptions',
|
'formObjectOptions',
|
||||||
'formattachOptions',
|
'formattachOptions',
|
||||||
'formBuilddocLineOptions',
|
'formBuilddocLineOptions',
|
||||||
|
'getIdProfUrl',
|
||||||
'moveUploadedFile',
|
'moveUploadedFile',
|
||||||
'pdf_build_address',
|
'pdf_build_address',
|
||||||
'pdf_writelinedesc',
|
'pdf_writelinedesc',
|
||||||
@ -247,11 +248,7 @@ class HookManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO remove this. When there is something to print for an output hook, ->resPrint is filled.
|
|
||||||
//if ($hooktype == 'output') return $this->resPrint;
|
|
||||||
//if ($hooktype == 'returnvalue') return $result;
|
|
||||||
return ($error?-1:$resaction);
|
return ($error?-1:$resaction);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2732,6 +2732,7 @@ class Societe extends CommonObject
|
|||||||
global $conf,$langs,$hookmanager;
|
global $conf,$langs,$hookmanager;
|
||||||
|
|
||||||
$url='';
|
$url='';
|
||||||
|
$action = '';
|
||||||
|
|
||||||
$hookmanager->initHooks(array('idprofurl'));
|
$hookmanager->initHooks(array('idprofurl'));
|
||||||
$parameters=array('idprof'=>$idprof, 'company'=>$thirdparty);
|
$parameters=array('idprof'=>$idprof, 'company'=>$thirdparty);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user