Version 3.4.6
This commit is contained in:
1 parent
e4478369d8
commit
b45ea0dffb
1568 files changed
+155104
-161665
No files matched your search
@@ -3,19 +3,19 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Most Liked Content
|
||||
* Last Updated: $Date: 2013-05-21 20:51:17 -0400 (Tue, 21 May 2013) $
|
||||
* Last Updated: $Date: 2013-10-21 09:41:15 -0400 (Mon, 21 Oct 2013) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: AndyMillne $
|
||||
* @copyright © 2012 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 5th January 2012
|
||||
* @version $Revision: 12263 $
|
||||
* @version $Revision: 12389 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ if ( ! defined( 'IN_IPB' ) )
|
||||
exit();
|
||||
}
|
||||
|
||||
class public_members_reputation_most extends ipsCommand
|
||||
class public_members_reputation_most extends ipsCommand
|
||||
{
|
||||
const NUMBER_TO_SHOW = 20;
|
||||
|
||||
@@ -35,7 +35,7 @@ class public_members_reputation_most extends ipsCommand
|
||||
* @param object Registry reference
|
||||
* @return @e void [Outputs to screen]
|
||||
*/
|
||||
public function doExecute( ipsRegistry $registry )
|
||||
public function doExecute( ipsRegistry $registry )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Get supported applications
|
||||
@@ -48,7 +48,7 @@ class public_members_reputation_most extends ipsCommand
|
||||
$file = IPSLib::getAppDir( $app['app_directory'] ) . '/extensions/reputation.php';
|
||||
|
||||
if( is_file( $file ) )
|
||||
{
|
||||
{
|
||||
require_once( $file );/*maybeLibHook*/
|
||||
|
||||
if( class_exists( 'reputation_' . $app['app_directory'] ) )
|
||||
@@ -82,7 +82,7 @@ class public_members_reputation_most extends ipsCommand
|
||||
$this->DB->flushQuery();
|
||||
|
||||
$this->DB->allow_sub_select = 1;
|
||||
$this->DB->query( 'SELECT * FROM ' . $PRE . "reputation_totals WHERE rt_app_type=MD5( CONCAT( '" . $app . "', ';', '" . $_query['type'] . "' ) ) AND rt_type_id IN (" . $inner . ") GROUP BY rt_key ORDER BY rt_total DESC LIMIT 0," . self::NUMBER_TO_SHOW );
|
||||
$this->DB->query( 'SELECT * FROM ' . $PRE . "reputation_totals WHERE rt_app_type=MD5( CONCAT( '" . $app . "', ';', '" . $_query['type'] . "' ) ) AND rt_type_id IN (" . $inner . ") AND rt_total > 0 GROUP BY rt_key ORDER BY rt_total DESC LIMIT 0," . self::NUMBER_TO_SHOW );
|
||||
$this->DB->execute();
|
||||
|
||||
$typeIds = array();
|
||||
|
||||
Reference in new issue
Block a user