bootstrap 4 update and bugfixes
This commit is contained in:
@ -446,7 +446,7 @@ class User extends DatabaseModel {
|
||||
*/
|
||||
public function recent( $limit = null ) {
|
||||
if ( empty( $limit ) ) {
|
||||
$data = self::$db->getpaginated( $this->tableName, '*' );
|
||||
$data = self::$db->get( $this->tableName, '*' );
|
||||
} else {
|
||||
$data = self::$db->get( $this->tableName, [ 'ID', '>', '0' ], 'ID', 'DESC', [ 0, $limit ] );
|
||||
}
|
||||
|
Reference in New Issue
Block a user