Browse Source

remove deprecated construction

main
ghost 1 year ago
parent
commit
86587db9e9
  1. 14
      src/app/controller/page.php

14
src/app/controller/page.php

@ -46,19 +46,6 @@ class AppControllerPage @@ -46,19 +46,6 @@ class AppControllerPage
private function _initUser(string $address)
{
if (empty($address))
{
$this->_response(
sprintf(
_('Error - %s'),
$this->_website->getName()
),
_('500'),
_('Could not init session'),
500
);
}
$error = [];
if (!$this->_validator->host($address, $error))
{
@ -130,7 +117,6 @@ class AppControllerPage @@ -130,7 +117,6 @@ class AppControllerPage
}
}
public function get(int $pageId)
{
return $this->_database->getPage($pageId);

Loading…
Cancel
Save