forked from GNUsocial/gnu-social
Merge in Phergie changes
This commit is contained in:
parent
dd882be803
commit
2fe1b12804
@ -229,12 +229,6 @@ class Phergie_Driver_Streams extends Phergie_Driver_Abstract
|
||||
|
||||
// Check for a new event on the current connection
|
||||
$buffer = fgets($this->socket, 512);
|
||||
if ($buffer === false) {
|
||||
throw new Phergie_Driver_Exception(
|
||||
'Unable to read from socket',
|
||||
Phergie_Driver_Exception::ERR_CONNECTION_READ_FAILED
|
||||
);
|
||||
}
|
||||
|
||||
// If no new event was found, return NULL
|
||||
if (empty($buffer)) {
|
||||
|
Loading…
Reference in New Issue
Block a user