replaced print with echo
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
f776f7d16b
commit
0410d3b3a1
|
@ -41,8 +41,6 @@ class DomainRepository
|
|||
$statement = $this->databaseConnection->getConnection()->prepare(query: $sql);
|
||||
$statement->execute();
|
||||
while ($result = $statement->fetch(mode: PDO::FETCH_ASSOC)) {
|
||||
//print_r($result);
|
||||
//die();
|
||||
$domain = new Domain(name: $result['name'], panel: $result['panel'], id: $result['id']);
|
||||
$domains[] = $domain;
|
||||
}
|
||||
|
@ -187,7 +185,7 @@ class DomainRepository
|
|||
|
||||
return $statement->rowCount();
|
||||
} catch (PDOException $e) {
|
||||
print($e->getMessage());
|
||||
echo $e->getMessage();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue