mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12117 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -52,10 +52,10 @@ class ESLevent {
|
||||
return null;
|
||||
}
|
||||
|
||||
function __construct($type_or_wrap_me,$subclass_name_or_free_me=null) {
|
||||
function __construct($type,$subclass_name=null) {
|
||||
switch (func_num_args()) {
|
||||
case 1: $r=new_ESLevent($type_or_wrap_me); break;
|
||||
default: $r=new_ESLevent($type_or_wrap_me,$subclass_name_or_free_me);
|
||||
case 1: $r=new_ESLevent($type); break;
|
||||
default: $r=new_ESLevent($type,$subclass_name);
|
||||
}
|
||||
$this->_cPtr=$r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user