cvs: pear /Net_Server Server.php
| From: | Stephan Schmidt | Date: | Sat, 13 Mar 2004 08:19:30 +0000 |
| Subject: | cvs: pear /Net_Server Server.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-17363@lists.php.net to get a copy of this message | ||
schst Sat Mar 13 03:19:30 2004 EDT
Modified files:
/pear/Net_Server Server.php
Log:
fixed bug #673: $this used in static function
http://cvs.php.net/diff.php/pear/Net_Server/Server.php?r1=1.9&r2=1.10&ty=u
Index: pear/Net_Server/Server.php
diff -u pear/Net_Server/Server.php:1.9 pear/Net_Server/Server.php:1.10
--- pear/Net_Server/Server.php:1.9 Sun Jan 4 10:43:49 2004
+++ pear/Net_Server/Server.php Sat Mar 13 03:19:27 2004
@@ -16,7 +16,7 @@
// | Authors: Stephan Schmidt <schst@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Server.php,v 1.9 2004/01/04 15:43:49 schst Exp $
+// $Id: Server.php,v 1.10 2004/03/13 08:19:27 schst Exp $
/**
* PHP socket server base class
@@ -101,7 +101,7 @@
function &create($type, $host, $port)
{
if (!function_exists('socket_create')) {
- return $this->raiseError('Sockets extension not available.');
+ return PEAR::raiseError('Sockets extension not available.');
}
$type = ucfirst(strtolower($type));