Qual: Removed warnings

This commit is contained in:
eldy 2011-10-10 13:59:30 +02:00
parent fca1e76e35
commit 0c3db381d1
2 changed files with 11 additions and 9 deletions

View File

@ -1416,17 +1416,17 @@ class User extends CommonObject
dol_syslog("User::send_password url=".$url); dol_syslog("User::send_password url=".$url);
} }
$mailfile = new CMailFile( $mailfile = new CMailFile(
$subject, $subject,
$this->email, $this->email,
$conf->notification->email_from, $conf->notification->email_from,
$mesg, $mesg,
array(), array(),
array(), array(),
array(), array(),
'', '',
'', '',
0, 0,
$msgishtml $msgishtml
); );
if ($mailfile->sendfile()) if ($mailfile->sendfile())
@ -1990,6 +1990,7 @@ class User extends CommonObject
* Return number of existing users * Return number of existing users
* *
* @param string $limitTo Limit to 'active' or 'superadmin' users * @param string $limitTo Limit to 'active' or 'superadmin' users
* @param int $all Return for all entities
* @return int Number of users * @return int Number of users
*/ */
function getNbOfUsers($limitTo='',$all=0) function getNbOfUsers($limitTo='',$all=0)

View File

@ -1798,6 +1798,7 @@ llxFooter();
/** /**
* Return if var element is ok * Return if var element is ok
*
* @param string $element Variable to check * @param string $element Variable to check
* @return boolean Return true of variable is not empty * @return boolean Return true of variable is not empty
*/ */