Fix warnings
This commit is contained in:
parent
2d17e77ff7
commit
a1ba425765
@ -1336,6 +1336,7 @@ class Account extends CommonObject
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Charge indicateurs this->nb de tableau de bord
|
||||
*
|
||||
* @param int $filteraccountid To get info for a particular account id
|
||||
* @return int <0 if ko, >0 if ok
|
||||
*/
|
||||
|
||||
@ -702,28 +702,6 @@ class ConferenceOrBooth extends ActionComm
|
||||
$this->initAsSpecimenCommon();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an array of lines
|
||||
*
|
||||
* @return array|int array of lines if OK, <0 if KO
|
||||
*/
|
||||
/*public function getLinesArray()
|
||||
{
|
||||
$this->lines = array();
|
||||
|
||||
$objectline = new ConferenceOrBoothLine($this->db);
|
||||
$result = $objectline->fetchAll('ASC', 'position', 0, 0, array('customsql'=>'fk_conferenceorbooth = '.((int) $this->id)));
|
||||
|
||||
if (is_numeric($result)) {
|
||||
$this->error = $objectline->error;
|
||||
$this->errors = $objectline->errors;
|
||||
return $result;
|
||||
} else {
|
||||
$this->lines = $result;
|
||||
return $this->lines;
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Create a document onto disk according to template module.
|
||||
*
|
||||
|
||||
@ -927,6 +927,8 @@ class SkillRank extends CommonObject
|
||||
return $this->lines;
|
||||
}
|
||||
*/
|
||||
|
||||
return $this->lines;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -1383,8 +1383,9 @@ class Mo extends CommonObject
|
||||
|
||||
/**
|
||||
* Create an array of lines
|
||||
* @param string $rolefilter string lines role filter
|
||||
* @return array|int array of lines if OK, <0 if KO
|
||||
*
|
||||
* @param string $rolefilter string lines role filter
|
||||
* @return array|int array of lines if OK, <0 if KO
|
||||
*/
|
||||
public function getLinesArray($rolefilter = '')
|
||||
{
|
||||
|
||||
@ -2356,6 +2356,7 @@ class Project extends CommonObject
|
||||
$taskstatic = new Task($this->db);
|
||||
|
||||
$this->lines = $taskstatic->getTasksArray(0, $user, $this->id, 0, 0, '', '-1', '', 0, 0, array(), 0, array(), 0, $loadRoleMode);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user