Vergleich inc/class_datacache.php - 1.4.0 - 1.4.4

  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_datacache.php 4053 2008-07-31 04:56:19Z Tikitiki $

 * $Id: class_datacache.php 4271 2008-11-16 06:20:15Z Tikitiki $

 */

class datacache

 */

class datacache

Zeile 163Zeile 163
			"title" => $db->escape_string($name),
"cache" => $dbcontents
);

			"title" => $db->escape_string($name),
"cache" => $dbcontents
);

		$db->replace_query("datacache", $replace_array, "title");

		$db->replace_query("datacache", $replace_array, "title", false);


// Do we have a cache handler we're using?
if(is_object($this->handler))


// Do we have a cache handler we're using?
if(is_object($this->handler))

Zeile 475Zeile 475
		{
foreach(array_keys($this->moderators) as $fid)
{

		{
foreach(array_keys($this->moderators) as $fid)
{

				usort($this->moderators[$fid], 'sort_moderators_by_usernames');

				uasort($this->moderators[$fid], 'sort_moderators_by_usernames');

			}
}


			}
}


Zeile 509Zeile 509
					{
if(is_array($forum_mods))
{

					{
if(is_array($forum_mods))
{

							$forum_mods = array_merge($forum_mods, $this->moderators[$forum['fid']]);

							$forum_mods = $forum_mods + $this->moderators[$forum['fid']];

						}
else
{

						}
else
{

Zeile 696Zeile 696
	{
global $db;
$spiders = array();

	{
global $db;
$spiders = array();

		$query = $db->simple_select("spiders", "sid,name,useragent", "", array("order_by" => "LENGTH(useragent)", "order_dir" => "DESC"));

		$query = $db->simple_select("spiders", "sid, name, useragent, usergroup", "", array("order_by" => "LENGTH(useragent)", "order_dir" => "DESC")); 

		while($spider = $db->fetch_array($query))
{
$spiders[$spider['sid']] = $spider;

		while($spider = $db->fetch_array($query))
{
$spiders[$spider['sid']] = $spider;

Zeile 743Zeile 743
		$query = $db->simple_select("banned");
while($ban = $db->fetch_array($query))
{

		$query = $db->simple_select("banned");
while($ban = $db->fetch_array($query))
{

			$bans[] = $ban;

			$bans[$ban['uid']] = $ban;

		}

$this->update("banned", $bans);

		}

$this->update("banned", $bans);