Skip to content

Commit

Permalink
Merge pull request #85 from Bearsampp/84
Browse files Browse the repository at this point in the history
Update method name in `class.bin.xlight.php` to `setPort` for consistency
  • Loading branch information
jwaisner authored Sep 25, 2024
2 parents 4530ba0 + 9e3a84e commit 9d7a621
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions core/classes/bins/class.bin.xlight.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?php
/*
* Copyright (c) 2021-2024 Bearsampp
* License: GNU General Public License version 3 or later; see LICENSE.txt
* Author: Bear
* Website: https://bearsampp.com
* Github: https://github.com/Bearsampp
*
* * Copyright (c) 2021-2024 Bearsampp
* * License: GNU General Public License version 3 or later; see LICENSE.txt
* * Website: https://bearsampp.com
* * Github: https://github.com/Bearsampp
*
*/

/**
Expand Down Expand Up @@ -178,7 +179,7 @@ public function changePort($port, $checkUsed = false, $wbProgressBar = null) {
$isPortInUse = Util::isPortInUse($port);
if (!$checkUsed || $isPortInUse === false) {
// bearsampp.conf
$this->setSmtpPort($port);
$this->setPort($port);
$bearsamppWinbinder->incrProgressBar($wbProgressBar);

// conf
Expand Down

0 comments on commit 9d7a621

Please sign in to comment.