Version 2.2.2
This commit is contained in:
1 parent
22f1b963ee
commit
a3bb603c96
858 files changed
+479463
-188140
No files matched your search
@@ -2,14 +2,24 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| Invision Power Board 2.2.2
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:54 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2005-10-10 09:08:54 -0400 (Mon, 10 Oct 2005) $
|
||||
| > $Revision: 23 $
|
||||
@@ -30,8 +40,8 @@
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class task_item
|
||||
@@ -59,17 +69,25 @@ class task_item
|
||||
$this->ipsclass->DB->build_query( array( 'select' => 'v.vid, v.member_id',
|
||||
'from' => array( 'validating' => 'v' ),
|
||||
'where' => 'v.new_reg=1 AND v.coppa_user<>1 AND v.entry_date < '.$less_than.' AND v.lost_pass<>1',
|
||||
'add_join' => array( 0 => array( 'select' => 'm.posts',
|
||||
'add_join' => array( 0 => array( 'select' => 'm.posts, m.mgroup',
|
||||
'from' => array( 'members' => 'm' ),
|
||||
'where' => 'm.id=v.member_id',
|
||||
'type' => 'left'
|
||||
) )
|
||||
) );
|
||||
|
||||
$this->ipsclass->DB->exec_query();
|
||||
$outer = $this->ipsclass->DB->exec_query();
|
||||
|
||||
while( $i = $this->ipsclass->DB->fetch_row() )
|
||||
while( $i = $this->ipsclass->DB->fetch_row($outer) )
|
||||
{
|
||||
if( $i['mgroup'] != $this->ipsclass->vars['auth_group'] )
|
||||
{
|
||||
// No longer validating?
|
||||
|
||||
$this->ipsclass->DB->do_delete( 'validating', "v.vid='{$i['vid']}'" );
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( intval($i['posts']) < 1 )
|
||||
{
|
||||
$mids[] = $i['member_id'];
|
||||
@@ -102,7 +120,7 @@ class task_item
|
||||
// Log to log table - modify but dont delete
|
||||
//-----------------------------------------
|
||||
|
||||
$this->class->append_task_log( $this->task, count($mids).' old validating members pruned' );
|
||||
$this->class->append_task_log( $this->task, 'Óäàëåíî '.count($mids).' íå ïîäòâåðäèâøèõ ðåãèñòðàöèþ ïîëüçîâàòåëåé' );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
Reference in new issue
Block a user