Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

@@ -1,20 +1,14 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Task: Sends teh bulk mail of course
* Last Updated: $LastChangedDate: 2010-10-21 07:08:38 -0400 (Thu, 21 Oct 2010) $
* </pre>
*
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @since 27th January 2004
* @version $Rev: 7007 $
* @file bulkmail.php Task to send out bulk emails (dynamically enabled)
*~TERABYTE_DOC_READY~
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
* $License: This is NULLED!
* $Author: ips_terabyte $
* @since -
* $LastChangedDate: 2011-02-08 17:20:18 -0500 (Tue, 08 Feb 2011) $
* @version v3.2.3
* $Revision: 7750 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -23,66 +17,48 @@ if ( ! defined( 'IN_IPB' ) )
exit();
}
/**
*
* @class task_item
* @brief Task to send out bulk emails (dynamically enabled)
*
*/
class task_item
{
/**
* Parent task manager class
* Object that stores the parent task manager class
*
* @var object
* @var $class
*/
protected $class;
/**
* This task data
*
* @var array
*/
protected $task = array();
/**
* Prevent logging
*
* @var boolean
*/
protected $restrict_log = false;
/**#@+
/**
* Array that stores the task data
*
* @var $task
*/
protected $task = array();
/**
* Registry Object Shortcuts
*
* @var object
* @var $registry
*/
protected $registry;
protected $DB;
protected $settings;
protected $request;
protected $lang;
protected $member;
protected $memberData;
protected $cache;
protected $caches;
/**#@-*/
/**
* Constructor
*
* @param object ipsRegistry reference
* @param object Parent task class
* @param array This task data
* @return void
* @param object $registry Registry object
* @param object $class Task manager class object
* @param array $task Array with the task data
* @return @e void
*/
public function __construct( ipsRegistry $registry, $class, $task )
{
/* Make registry objects */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
$this->class = $class;
$this->task = $task;
}
@@ -90,7 +66,7 @@ class task_item
/**
* Run this task
*
* @return void
* @return @e void
*/
public function runTask()
{
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
@@ -1,19 +1,14 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Task: Sends Mobile Notifications
* Last Updated: $LastChangedDate$
* </pre>
*
* @author $Author$
* @copyright (c) 2001 - 2010 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @version $Rev$
* @file mobile_notifications.php Task to send out mobile notifications
*~TERABYTE_DOC_READY~
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
* $License: This is NULLED!
* $Author: ips_terabyte $
* @since -
* $LastChangedDate: 2011-02-08 17:20:18 -0500 (Tue, 08 Feb 2011) $
* @version v3.2.3
* $Revision: 7750 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -22,66 +17,57 @@ if ( ! defined( 'IN_IPB' ) )
exit();
}
/**
*
* @class task_item
* @brief Task to send out mobile notifications
*
*/
class task_item
{
/**
* Parent task manager class
* Object that stores the parent task manager class
*
* @var object
* @var $class
*/
protected $class;
/**
* This task data
*
* @var array
*/
protected $task = array();
/**
* Prevent logging
*
* @var boolean
*/
protected $restrict_log = false;
/**#@+
/**
* Array that stores the task data
*
* @var $task
*/
protected $task = array();
/**
* Registry Object Shortcuts
*
* @var object
* @var $registry
* @var $DB
* @var $settings
* @var $lang
*/
protected $registry;
protected $DB;
protected $settings;
protected $request;
protected $lang;
protected $member;
protected $memberData;
protected $cache;
protected $caches;
/**#@-*/
/**
* Constructor
*
* @param object ipsRegistry reference
* @param object Parent task class
* @param array This task data
* @return void
* @param object $registry Registry object
* @param object $class Task manager class object
* @param array $task Array with the task data
* @return @e void
*/
public function __construct( ipsRegistry $registry, $class, $task )
{
/* Make registry objects */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->settings =& $this->registry->fetchSettings();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
$this->class = $class;
$this->task = $task;
}
@@ -89,18 +75,20 @@ class task_item
/**
* Run this task
*
* @return void
* @return @e void
*/
public function runTask()
{
/* INIT */
$maxNotificationsToProcess = 250;
$licenseKey = ipsRegistry::$settings['ipb_reg_number'];
$forum = urlencode( $this->settings['board_name'] );
$domain = urlencode( ipsRegistry::$settings['board_url'] );
$apiBaseURL = "http://myipb.in/apn-server/index.php?api=addMessageToQueue&key={$licenseKey}&forum={$forum}&domain={$domain}";
/* Get the file managemnet class */
$classToLoad = IPSLib::loadLibrary( IPS_KERNEL_PATH . 'classFileManagement.php', 'classFileManagement' );
$query = new $classToLoad();
$query->use_sockets = 1;
/* Get waiting notifications */
$this->DB->build( array(
@@ -133,7 +121,7 @@ class task_item
}
/* Query the api */
$response = '';
$response = $query->getFileContents( "{$apiBaseURL}&ipsToken={$ipsToken}&message={$message}" );
/* Save the ID */
$_sentIds[] = $r['id'];
@@ -1,21 +1,14 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Task: Removes locked membes who are unlocked
* Last Updated: $LastChangedDate: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @since 27th January 2004
* @version $Rev: 5713 $
* @file removelocked.php Task to remove locked members from the ACP list who are already unlocked
*~TERABYTE_DOC_READY~
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
* $License: This is NULLED!
* $Author: ips_terabyte $
* @since -
* $LastChangedDate: 2011-02-08 17:20:18 -0500 (Tue, 08 Feb 2011) $
* @version v3.2.3
* $Revision: 7750 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -24,69 +17,57 @@ if ( ! defined( 'IN_IPB' ) )
exit();
}
/**
*
* @class task_item
* @brief Task to remove locked members from the ACP list who are already unlocked
*
*/
class task_item
{
/**
* Parent task manager class
* Object that stores the parent task manager class
*
* @access protected
* @var object
* @var $class
*/
protected $class;
/**
* This task data
*
* @access protected
* @var array
*/
protected $task = array();
/**
* Prevent logging
*
* @access protected
* @var boolean
*/
protected $restrict_log = false;
/**#@+
/**
* Array that stores the task data
*
* @var $task
*/
protected $task = array();
/**
* Registry Object Shortcuts
*
* @access protected
* @var object
* @var $registry
* @var $DB
* @var $settings
* @var $lang
*/
protected $registry;
protected $DB;
protected $settings;
protected $request;
protected $lang;
protected $member;
protected $cache;
/**#@-*/
/**
* Constructor
*
* @access public
* @param object ipsRegistry reference
* @param object Parent task class
* @param array This task data
* @return void
* @param object $registry Registry object
* @param object $class Task manager class object
* @param array $task Array with the task data
* @return @e void
*/
public function __construct( ipsRegistry $registry, $class, $task )
{
/* Make registry objects */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->settings =& $this->registry->fetchSettings();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
$this->class = $class;
$this->task = $task;
}
@@ -94,22 +75,21 @@ class task_item
/**
* Run this task
*
* @access public
* @return void
* @return @e void
*/
public function runTask()
{
$this->registry->getClass('class_localization')->loadLanguageFile( array( 'public_global' ), 'core' );
$count = 0;
$canUnlock = array();
if ( $this->settings['ipb_bruteforce_attempts'] AND $this->settings['ipb_bruteforce_unlock'] )
{
$this->DB->build( array( 'select' => 'member_id, failed_logins, failed_login_count',
/* Init vars */
$count = 0;
$canUnlock = array();
$this->DB->build( array( 'select' => 'member_id, failed_logins, failed_login_count',
'from' => 'members',
'where' => 'failed_login_count > 0 AND failed_logins ' . $this->DB->buildIsNull( false ),
) );
'where' => 'failed_login_count > 0 AND failed_logins ' . $this->DB->buildIsNull( false ),
) );
$outer = $this->DB->execute();
while( $r = $this->DB->fetch($outer) )
@@ -176,6 +156,7 @@ class task_item
// Log to log table - modify but dont delete
//-----------------------------------------
$this->registry->getClass('class_localization')->loadLanguageFile( array( 'public_global' ), 'core' );
$this->class->appendTaskLog( $this->task, sprintf( $this->lang->words['task_removelocked'], count($canUnlock) ) );
}
@@ -185,5 +166,4 @@ class task_item
$this->class->unlockTask( $this->task );
}
}
@@ -1,21 +1,14 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Task: Removes validating members over configured time
* Last Updated: $LastChangedDate: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @since 27th January 2004
* @version $Rev: 5713 $
* @file removevalidating.php Task to remove validating members over configured time
*~TERABYTE_DOC_READY~
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
* $License: This is NULLED!
* $Author: ips_terabyte $
* @since -
* $LastChangedDate: 2011-02-08 17:20:18 -0500 (Tue, 08 Feb 2011) $
* @version v3.2.3
* $Revision: 7750 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -24,69 +17,57 @@ if ( ! defined( 'IN_IPB' ) )
exit();
}
/**
*
* @class task_item
* @brief Task to remove validating members over configured time
*
*/
class task_item
{
/**
* Parent task manager class
* Object that stores the parent task manager class
*
* @access protected
* @var object
* @var $class
*/
protected $class;
/**
* This task data
*
* @access protected
* @var array
*/
protected $task = array();
/**
* Prevent logging
*
* @access protected
* @var boolean
*/
protected $restrict_log = false;
/**#@+
/**
* Array that stores the task data
*
* @var $task
*/
protected $task = array();
/**
* Registry Object Shortcuts
*
* @access protected
* @var object
* @var $registry
* @var $DB
* @var $settings
* @var $lang
*/
protected $registry;
protected $DB;
protected $settings;
protected $request;
protected $lang;
protected $member;
protected $cache;
/**#@-*/
/**
* Constructor
*
* @access public
* @param object ipsRegistry reference
* @param object Parent task class
* @param array This task data
* @return void
* @param object $registry Registry object
* @param object $class Task manager class object
* @param array $task Array with the task data
* @return @e void
*/
public function __construct( ipsRegistry $registry, $class, $task )
{
/* Make registry objects */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->settings =& $this->registry->fetchSettings();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
$this->class = $class;
$this->task = $task;
}
@@ -94,33 +75,28 @@ class task_item
/**
* Run this task
*
* @access public
* @return void
* @return @e void
*/
public function runTask()
{
$this->registry->getClass('class_localization')->loadLanguageFile( array( 'public_global' ), 'core' );
$mids = array();
$vids = array();
$emails = array();
// If enabled, remove validating new_reg members & entries from members table
if ( intval($this->settings['validate_day_prune']) > 0 )
{
/* Init vars */
$mids = array();
$vids = array();
$emails = array();
$less_than = time() - $this->settings['validate_day_prune'] * 86400;
$this->DB->build( 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, m.member_group_id, m.email',
'from' => array( 'members' => 'm' ),
'where' => 'm.member_id=v.member_id',
'type' => 'left'
) )
) );
/* Get members from DB */
$this->DB->build( 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 AND v.user_verified=0',
'add_join' => array( array( 'select' => 'm.posts, m.member_group_id, m.email',
'from' => array( 'members' => 'm' ),
'where' => 'm.member_id=v.member_id',
'type' => 'left' ) )
) );
$outer = $this->DB->execute();
while( $i = $this->DB->fetch($outer) )
@@ -150,6 +126,7 @@ class task_item
// Log to log table - modify but dont delete
//-----------------------------------------
$this->registry->getClass('class_localization')->loadLanguageFile( array( 'public_global' ), 'core' );
$this->class->appendTaskLog( $this->task, sprintf( $this->lang->words['task_removevalidating'], count($mids) ) );
}
@@ -159,5 +136,4 @@ class task_item
$this->class->unlockTask( $this->task );
}
}
@@ -1,21 +1,14 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Task: Update the profile views counter
* Last Updated: $LastChangedDate: 2010-11-17 08:50:12 -0500 (Wed, 17 Nov 2010) $
* </pre>
*
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @since 27th January 2004
* @version $Rev: 7206 $
* @file twitfacesync.php Task to update data from Twitter and Facebook (photos, statuses, etc)
*~TERABYTE_DOC_READY~
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
* $License: This is NULLED!
* $Author: bfarber $
* @since -
* $LastChangedDate: 2011-04-19 23:03:31 -0400 (Tue, 19 Apr 2011) $
* @version v3.2.3
* $Revision: 8397 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -24,69 +17,57 @@ if ( ! defined( 'IN_IPB' ) )
exit();
}
/**
*
* @class task_item
* @brief Task to update data from Twitter and Facebook (photos, statuses, etc)
*
*/
class task_item
{
/**
* Parent task manager class
* Object that stores the parent task manager class
*
* @access protected
* @var object
* @var $class
*/
protected $class;
/**
* This task data
*
* @access protected
* @var array
*/
protected $task = array();
/**
* Prevent logging
*
* @access protected
* @var boolean
*/
protected $restrict_log = false;
/**#@+
/**
* Array that stores the task data
*
* @var $task
*/
protected $task = array();
/**
* Registry Object Shortcuts
*
* @access protected
* @var object
* @var $registry
* @var $DB
* @var $settings
* @var $lang
*/
protected $registry;
protected $DB;
protected $settings;
protected $request;
protected $lang;
protected $member;
protected $cache;
/**#@-*/
/**
* Constructor
*
* @access public
* @param object ipsRegistry reference
* @param object Parent task class
* @param array This task data
* @return void
* @param object $registry Registry object
* @param object $class Task manager class object
* @param array $task Array with the task data
* @return @e void
*/
public function __construct( ipsRegistry $registry, $class, $task )
{
/* Make registry objects */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->settings =& $this->registry->fetchSettings();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
$this->class = $class;
$this->task = $task;
}
@@ -94,8 +75,7 @@ class task_item
/**
* Run this task
*
* @access public
* @return void
* @return @e void
*/
public function runTask()
{
@@ -106,20 +86,28 @@ class task_item
if ( IPSLib::fbc_enabled() !== TRUE && IPSLib::twitter_enabled() !== TRUE )
{
$this->class->appendTaskLog( $this->task, "Nothing to update" );
$this->class->unlockTask( $this->task );
return;
}
//-----------------------------------------
// Fetch members
// Fetch members / Edit - only complete members
// @link http://community.invisionpower.com/tracker/issue-29269-display-names-not-always-shown-in-status-updates
//-----------------------------------------
$this->DB->build( array( 'select' => 'member_id',
'from' => 'members',
'where' => '( (twitter_id != \'\' AND tc_lastsync < ' . $_sync .') OR (fb_uid > 0 AND fb_lastsync < ' . $_sync . ') ) AND last_visit > ' . $_active,
'order' => 'last_visit DESC',
'limit' => array( 0, 100 ) ) );
$this->DB->build( array( 'select' => 'm.member_id',
'from' => array( 'members' => 'm' ),
'where' => '( (m.twitter_id != \'\' AND m.tc_lastsync < ' . $_sync .') OR (m.fb_uid > 0 AND m.fb_lastsync < ' . $_sync . ') ) AND p.partial_id ' . $this->DB->buildIsNull(true) . ' AND m.last_visit > ' . $_active,
'order' => 'm.last_visit DESC',
'limit' => array( 0, 100 ),
'add_join' => array(
array(
'from' => array( 'members_partial' => 'p' ),
'where' => 'p.partial_member_id=m.member_id',
'type' => 'left',
)
)
) );
$this->DB->execute();
while( $row = $this->DB->fetch() )
@@ -142,8 +130,8 @@ class task_item
/* We have a linked member and options, so check if they haven't sync'd in 24 hours and have been active in the past 90 days... */
try
{
require_once( IPS_ROOT_PATH . 'sources/classes/facebook/connect.php' );
$facebook = new facebook_connect( ipsRegistry::instance(), null, null, true );
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/facebook/connect.php', 'facebook_connect' );
$facebook = new $classToLoad( ipsRegistry::instance(), null, null, true );
$_member = $facebook->syncMember( $member, $member['fb_token'], $member['fb_uid'] );
@@ -179,8 +167,8 @@ class task_item
if ( ! empty( $member['twitter_id'] ) and ! empty( $member['tc_bwoptions'] ) )
{
/* We have a linked member and options, so check if they haven't sync'd in 3 hours and have been active in the past 90 days... */
require_once( IPS_ROOT_PATH . 'sources/classes/twitter/connect.php' );
$twitter = new twitter_connect( ipsRegistry::instance() );
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/twitter/connect.php', 'twitter_connect' );
$twitter = new $classToLoad( ipsRegistry::instance() );
try
{
@@ -1,21 +1,14 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Task: Update the profile views counter
* Last Updated: $LastChangedDate: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @since 27th January 2004
* @version $Rev: 5713 $
* @file update_profile_views.php Task to update the profile views from the temporary table
*~TERABYTE_DOC_READY~
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
* $License: This is NULLED!
* $Author: ips_terabyte $
* @since -
* $LastChangedDate: 2011-02-08 17:20:18 -0500 (Tue, 08 Feb 2011) $
* @version v3.2.3
* $Revision: 7750 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -24,87 +17,71 @@ if ( ! defined( 'IN_IPB' ) )
exit();
}
/**
*
* @class task_item
* @brief Task to update the profile views from the temporary table
*
*/
class task_item
{
/**
* Parent task manager class
* Object that stores the parent task manager class
*
* @access protected
* @var object
* @var $class
*/
protected $class;
/**
* This task data
*
* @access protected
* @var array
*/
protected $task = array();
/**
* Prevent logging
*
* @access protected
* @var boolean
*/
protected $restrict_log = false;
/**#@+
/**
* Array that stores the task data
*
* @var $task
*/
protected $task = array();
/**
* Registry Object Shortcuts
*
* @access protected
* @var object
* @var $registry
* @var $DB
* @var $lang
*/
protected $registry;
protected $DB;
protected $settings;
protected $request;
protected $lang;
protected $member;
protected $cache;
/**#@-*/
/**
* Constructor
*
* @access public
* @param object ipsRegistry reference
* @param object Parent task class
* @param array This task data
* @return void
* @param object $registry Registry object
* @param object $class Task manager class object
* @param array $task Array with the task data
* @return @e void
*/
public function __construct( ipsRegistry $registry, $class, $task )
{
/* Make registry objects */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
$this->class = $class;
$this->task = $task;
}
/**
* Run this task
*
* @access public
* @return void
*
* @return @e void
*/
public function runTask()
{
$this->registry->getClass('class_localization')->loadLanguageFile( array( 'public_global' ), 'core' );
$this->DB->build( array( 'select' => 'views_member_id, COUNT(*) as profile_views',
'from' => 'profile_portal_views',
'group' => 'views_member_id'
) );
$this->DB->build( array( 'select' => 'views_member_id, COUNT(*) as profile_views',
'from' => 'profile_portal_views',
'group' => 'views_member_id'
) );
$o = $this->DB->execute();