forked from GNUsocial/gnu-social
Remove any existing switchboard sessions when we (re)signon
This commit is contained in:
parent
50610c2611
commit
b313bc3cde
@ -2,6 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
phpmsnclass ver 2.0s
|
phpmsnclass ver 2.0s
|
||||||
|
Luke Fitzgerald <lw.fitzgerald@googlemail.com>
|
||||||
|
|
||||||
Based on MSN class ver 2.0 by Tommy Wu, Ricky Su
|
Based on MSN class ver 2.0 by Tommy Wu, Ricky Su
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -345,6 +346,10 @@ class MSN {
|
|||||||
* the queue handler! */
|
* the queue handler! */
|
||||||
$this->debug_message('*** Trying to connect to MSN network');
|
$this->debug_message('*** Trying to connect to MSN network');
|
||||||
|
|
||||||
|
// Remove any remaining switchboard sessions
|
||||||
|
$this->switchBoardSessions = array();
|
||||||
|
$this->switchBoardSessionLookup = array();
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
// Connect
|
// Connect
|
||||||
if (!$this->connect($this->user, $this->password)) {
|
if (!$this->connect($this->user, $this->password)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user