Skip to content

Commit

Permalink
Remove superfluous function arguments
Browse files Browse the repository at this point in the history
Added in 0eae38c
  • Loading branch information
marcos-ng committed May 23, 2024
1 parent 1123725 commit 787a993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/etc/rc.carpmaster
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ if (!empty(config_get_path('captiveportal')) &&
$attributes['maxbytes'] = $user['traffic_quota'];

portal_allow($user['ip'], $user['mac'], $user['username'], base64_decode($user['bpassword']), null,
$attributes, $pipeno, $user['authmethod'], $user['context'], $user['sessionid'], true);
$attributes, $pipeno, $user['authmethod'], $user['context'], $user['sessionid']);
}
foreach ($expired_vouchers as $roll => $vdb) {
voucher_write_used_db($roll, $vdb);
Expand Down
2 changes: 1 addition & 1 deletion src/usr/local/www/services_captiveportal_hasync.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
$attributes['maxbytes'] = $user['traffic_quota'];

portal_allow($user['ip'], $user['mac'], $user['username'], base64_decode($user['bpassword']), null,
$attributes, $pipeno, $user['authmethod'], $user['context'], $user['sessionid'], true);
$attributes, $pipeno, $user['authmethod'], $user['context'], $user['sessionid']);
}
foreach ($expired_vouchers as $roll => $vdb) {
voucher_write_used_db($roll, $vdb);
Expand Down

0 comments on commit 787a993

Please sign in to comment.