Vergleich inc/tasks/promotions.php - 1.4.2 - 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: promotions.php 4148 2008-08-23 08:39:05Z Tikitiki $

 * $Id: promotions.php 4265 2008-11-08 23:52:49Z Tikitiki $

 */

function task_promotions($task)

 */

function task_promotions($task)

Zeile 92Zeile 92
		$query2 = $db->simple_select("users", "uid,{$usergroup_select}", $sql_where);
while($user = $db->fetch_array($query2))
{

		$query2 = $db->simple_select("users", "uid,{$usergroup_select}", $sql_where);
while($user = $db->fetch_array($query2))
{

 
			// super admin check?

			if($usergroup_select == "additionalgroups")
{
$log_inserts[] = array(

			if($usergroup_select == "additionalgroups")
{
$log_inserts[] = array(

Zeile 120Zeile 121
			
if($usergroup_select == "additionalgroups")
{

			
if($usergroup_select == "additionalgroups")
{

				join_usergroup($user['uid'], $promotion['newusergroup']);






				if(join_usergroup($user['uid'], $promotion['newusergroup']) === false)
{
// Did the user already have the additional usergroup?
array_pop($log_inserts);
array_pop($uids);
}

			}

if((count($uids) % 20) == 0)

			}

if((count($uids) % 20) == 0)