R48816 - /trunk/phpgwapi/inc/class.asyncservice.inc.php

Author: ralfbecker
New Revision: 48816

URL: http://svn.stylite.de/viewvc/egroupware?rev=48816&view=rev
Log:
fixing IDE warnings

Modified:
trunk/phpgwapi/inc/class.asyncservice.inc.php

Modified: trunk/phpgwapi/inc/class.asyncservice.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/inc/class.asyncservice.inc.php?rev=48816&r1=48815&r2=48816&view=diff

— trunk/phpgwapi/inc/class.asyncservice.inc.php (original)
+++ trunk/phpgwapi/inc/class.asyncservice.inc.php Wed Oct 1 09:53:03 2014
@@ -65,10 +65,10 @@
* eg. ‘X’ where id is the internal id of app and X might indicate the action.
* @param string $method Method to be called via ExecMethod($method,$data). $method has the form
* ‘..’.

    • @param mixed $data=null This data is passed back when the method is called. If it is an array,
    • @param mixed $data =null This data is passed back when the method is called. If it is an array,
    • EGroupware will add the rest of the job parameters like id, next (sheduled exec time), times, …
    • @param int $account_id account_id, under which the methode should be called or False for the actual user
    • @param boolean $debug=false
    • @param boolean $debug =false
    • @return boolean False if $id already exists, else True
      */
      function set_timer($times,$id,$method,$data=null,$account_id=False,$debug=false)
      @@ -472,10 +472,10 @@
    • @param string $id =0 reads all expired rows / jobs ready to run\
    • != 0 reads all rows/jobs matching $id (sql-wildcards ‘%’ and ‘_’ can be used)
    • @param array|string $cols=’*’ string or array of column-names / select-expressions
    • @param int|bool $offset=False offset for a limited query or False (default)
    • @param string $append=‘ORDER BY async_next’ string to append to the end of the query
    • @param int $num_rows=0 number of rows to return if offset set, default 0 = use default in user prefs
    • @param array|string $cols =’*’ string or array of column-names / select-expressions
    • @param int|bool $offset =False offset for a limited query or False (default)
    • @param string $append =‘ORDER BY async_next’ string to append to the end of the query
    • @param int $num_rows =0 number of rows to return if offset set, default 0 = use default in user prefs
    • @return array/boolean db-rows / jobs as array or False if no matches
      /
      function read($id=0,$cols=’
      ’,$offset=False,$append=‘ORDER BY async_next’,$num_rows=0)
      @@ -526,7 +526,7 @@
    • write a job / db-row to the db
    • @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
    • @return int affected rows, can be 0 if an additional where statement is given
      */
      @@ -586,7 +586,6 @@
      {
      $binarys = array(
      ‘php’ => ‘/usr/bin/php’,
  •   		'php4' => '/usr/bin/php4',		// this is for debian
      		'php5' => '/usr/bin/php5',		// SuSE 9.3 with php5
      		'crontab' => '/usr/bin/crontab'
      	);
    

@@ -622,10 +621,6 @@
}
//echo “

$name = '”.$this->$name."’

\n";
}
  •   	if ($this->php4{0} == '/')	// we found a php4 binary
    
  •   	{
    
  •   		$this->php = $this->php4;
    
  •   	}
      	if ($this->php5{0} == '/')	// we found a php5 binary
      	{
      		$this->php = $this->php5;
    

Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs