remove extra rule

This commit is contained in:
ghost 2024-02-18 00:32:11 +02:00
parent 4194342cd8
commit c3cd11366a
2 changed files with 3 additions and 3 deletions

View File

@ -630,7 +630,7 @@ class RoomController extends AbstractController
} }
// Post has commission cost, send message to pending payment pool // Post has commission cost, send message to pending payment pool
if ($this->getParameter('app.add.post.cost.kva') > 0) if ($this->getParameter('app.add.post.cost.kva'))
{ {
$time = time(); $time = time();
@ -965,7 +965,7 @@ class RoomController extends AbstractController
} }
// Room registration has commission cost, send to pending payment pool // Room registration has commission cost, send to pending payment pool
if ($this->getParameter('app.add.room.cost.kva') > 0) if ($this->getParameter('app.add.room.cost.kva'))
{ {
if ($address = $client->getNewAddress()) if ($address = $client->getNewAddress())
{ {

View File

@ -504,7 +504,7 @@ class UserController extends AbstractController
} }
// User registration has commission cost, send message to pending payment pool // User registration has commission cost, send message to pending payment pool
if ($this->getParameter('app.add.user.cost.kva') > 0) if ($this->getParameter('app.add.user.cost.kva'))
{ {
if ($address = $client->getNewAddress()) if ($address = $client->getNewAddress())
{ {