Skip to content

Commit

Permalink
Action::doWarn - log call to aiv
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianZaremba committed Dec 14, 2024
1 parent 78a28d3 commit e8d1ac3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public static function doWarn($change, $report)
if (!Config::$dry) {
if ($warning >= 4) {
/* Report them if they have been warned 4 times. */
$logger->addInfo("Reporting " . $change['user'] . " (" . $warning . ") to AIV");
self::aiv($change, $report);
} else {
/* Warn them if they haven't been warned 4 times. */
Expand Down

0 comments on commit e8d1ac3

Please sign in to comment.