From 3b2e7732c24722aa58b2d24468a5e0091c22a6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 31 Aug 2018 22:49:11 +0200 Subject: [PATCH] function Comment Missing --- htdocs/api/class/api_login.class.php | 2 -- .../modules/user/doc/doc_generic_user_odt.modules.php | 8 ++++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/api/class/api_login.class.php b/htdocs/api/class/api_login.class.php index 60ccf3a4231..86d1cfff87c 100644 --- a/htdocs/api/class/api_login.class.php +++ b/htdocs/api/class/api_login.class.php @@ -28,8 +28,6 @@ class Login /** * Constructor of the class - * - * @param DoliDb $db Database handler */ function __construct() { diff --git a/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php b/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php index 9e05292fb5a..285a213cd9b 100644 --- a/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php +++ b/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php @@ -422,6 +422,14 @@ class doc_generic_user_odt extends ModelePDFUser return -1; } + /** + * get substitution array for object + * + * @param User $object user + * @param Translation $outputlangs translation object + * @param string $array_key key for array + * @return array array of substitutions + */ function get_substitutionarray_object($object,$outputlangs,$array_key='object') { $array_other=array();