Skip to content

Commit b7e9ed9

Browse files
committed
Mod. Users Checker. Test users count reduced to 50 rom 500.
1 parent a59a296 commit b7e9ed9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Cleantalk/ApbctWP/FindSpam/ListTable/UsersScan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static function getExtraTableNavInsertDeleteUsers()
9292
if ( defined('APBCT_IS_LOCALHOST') && APBCT_IS_LOCALHOST ) {
9393
$out .= '<div class="ctlk---red bar" style="padding: 10px">';
9494
$out .= '<span>These actions available only for test purpose and buttons are visible only in local env:</span>';
95-
$out .= '<button type="button" class="button button-small action ct_insert_users" style="margin:0 5px">Insert 500 users</button>';
95+
$out .= '<button type="button" class="button button-small action ct_insert_users" style="margin:0 5px">Insert 50 users</button>';
9696
$out .= '<button type="button" class="button button-small action ct_insert_users__delete" style="margin:0 5px">Delete inserted users</button>';
9797
$out .= '</div>';
9898
}

lib/Cleantalk/ApbctWP/FindSpam/UsersChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ public static function ctAjaxInsertUsers()
556556
}
557557

558558
// TEST INSERTION
559-
$to_insert = 500;
559+
$to_insert = 50;
560560
$query = 'SELECT network FROM `' . APBCT_TBL_FIREWALL_DATA . '` LIMIT ' . $to_insert . ';';
561561

562562
$result = $wpdb->get_results(

0 commit comments

Comments
 (0)