Vergleich inc/class_session.php - 1.4.4 - 1.4.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: class_session.php 4275 2008-11-19 03:34:19Z Tikitiki $

 * $Id: class_session.php 4346 2009-04-14 07:11:03Z Tikitiki $

 */

class session

 */

class session

Zeile 491Zeile 491
		// If there is a proper uid, delete by uid.
if($uid > 0)
{

		// If there is a proper uid, delete by uid.
if($uid > 0)
{

			$db->delete_query("sessions", "uid='{$uid}'", 1);

			$db->delete_query("sessions", "uid='{$uid}'");

			$onlinedata['uid'] = $uid;
}
// Is a spider - delete all other spider references
else if($this->is_spider == true)
{

			$onlinedata['uid'] = $uid;
}
// Is a spider - delete all other spider references
else if($this->is_spider == true)
{

			$db->delete_query("sessions", "sid='{$this->sid}'", 1);

			$db->delete_query("sessions", "sid='{$this->sid}'");

		}
// Else delete by ip.
else
{

		}
// Else delete by ip.
else
{

			$db->delete_query("sessions", "ip='".$db->escape_string($this->ipaddress)."'", 1);

			$db->delete_query("sessions", "ip='".$db->escape_string($this->ipaddress)."'");

			$onlinedata['uid'] = 0;
}


			$onlinedata['uid'] = 0;
}