fixing IDE warnings

This commit is contained in:
Ralf Becker 2014-10-01 07:53:03 +00:00
parent c42802beea
commit 72d5413131

View File

@ -526,7 +526,7 @@ class asyncservice
* write a job / db-row to the db * write a job / db-row to the db
* *
* @param array $job db-row as array * @param array $job db-row as array
* @param boolean $exits if True, we do an update, else we check if update or insert necesary * @param boolean $exists if True, we do an update, else we check if update or insert necesary
* @param array $where additional where statemetn to update only if a certain condition is met, used for the semaphore * @param array $where additional where statemetn to update only if a certain condition is met, used for the semaphore
* @return int affected rows, can be 0 if an additional where statement is given * @return int affected rows, can be 0 if an additional where statement is given
*/ */
@ -586,7 +586,6 @@ class asyncservice
{ {
$binarys = array( $binarys = array(
'php' => '/usr/bin/php', 'php' => '/usr/bin/php',
'php4' => '/usr/bin/php4', // this is for debian
'php5' => '/usr/bin/php5', // SuSE 9.3 with php5 'php5' => '/usr/bin/php5', // SuSE 9.3 with php5
'crontab' => '/usr/bin/crontab' 'crontab' => '/usr/bin/crontab'
); );
@ -622,10 +621,6 @@ class asyncservice
} }
//echo "<p>$name = '".$this->$name."'</p>\n"; //echo "<p>$name = '".$this->$name."'</p>\n";
} }
if ($this->php4{0} == '/') // we found a php4 binary
{
$this->php = $this->php4;
}
if ($this->php5{0} == '/') // we found a php5 binary if ($this->php5{0} == '/') // we found a php5 binary
{ {
$this->php = $this->php5; $this->php = $this->php5;