Ignore:
Timestamp:
03/03/10 12:54:21 (11 years ago)
Author:
sander
Message:

More PHP 5.3 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/app/plugins/bean_stalk/vendors/beanstalk-1.2.1/src/BeanStalk.class.php

    r200 r311  
    9898        $this->select_mode = $in_connection_settings['select']; 
    9999         
    100         $split = split(' ',$this->select_mode); 
     100        $split = explode(' ',$this->select_mode); 
    101101        $reserver = '_reserve_'.array_pop($split); 
    102102        $nextserver = implode(' ',$split); 
     
    591591    public function __construct($in_server_str, $in_conn_to, $in_conn_r, $in_auto_unyaml, $in_logfile) 
    592592    { 
    593         $server = split(':',$in_server_str); 
     593        $server = explode(':',$in_server_str); 
    594594         
    595595        if (ip2long($server[0]) === false) 
     
    13151315            return false; 
    13161316             
    1317         return new BeanQueueJob(&$in_server, $in_job_id, $in_job_payload); 
     1317        return new BeanQueueJob($in_server, $in_job_id, $in_job_payload); 
    13181318    } 
    13191319     
Note: See TracChangeset for help on using the changeset viewer.