serverranking plugin, also for trackmania
This commit is contained in:
committed by
Steffen Schröder
parent
d9963b53ca
commit
f6a4355f41
@ -393,7 +393,7 @@ class LocalRecordsPlugin implements CallbackListener, TimerListener, Plugin {
|
||||
* @param int $limit
|
||||
* @return array
|
||||
*/
|
||||
private function getLocalRecords(Map $map, $limit = -1) {
|
||||
public function getLocalRecords(Map $map, $limit = -1) {
|
||||
$mysqli = $this->maniaControl->database->mysqli;
|
||||
$limit = ($limit > 0 ? "LIMIT " . $limit : "");
|
||||
$query = "SELECT * FROM (
|
||||
|
Reference in New Issue
Block a user