mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
remove deprecated construction
This commit is contained in:
parent
623375484e
commit
86587db9e9
1 changed files with 0 additions and 14 deletions
|
|
@ -46,19 +46,6 @@ class AppControllerPage
|
||||||
|
|
||||||
private function _initUser(string $address)
|
private function _initUser(string $address)
|
||||||
{
|
{
|
||||||
if (empty($address))
|
|
||||||
{
|
|
||||||
$this->_response(
|
|
||||||
sprintf(
|
|
||||||
_('Error - %s'),
|
|
||||||
$this->_website->getName()
|
|
||||||
),
|
|
||||||
_('500'),
|
|
||||||
_('Could not init session'),
|
|
||||||
500
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
$error = [];
|
$error = [];
|
||||||
if (!$this->_validator->host($address, $error))
|
if (!$this->_validator->host($address, $error))
|
||||||
{
|
{
|
||||||
|
|
@ -130,7 +117,6 @@ class AppControllerPage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function get(int $pageId)
|
public function get(int $pageId)
|
||||||
{
|
{
|
||||||
return $this->_database->getPage($pageId);
|
return $this->_database->getPage($pageId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue