remove extra namespace

This commit is contained in:
yggverse 2024-04-14 15:59:20 +03:00
parent 8aef22ed74
commit 124cef3058
2 changed files with 10 additions and 10 deletions

View file

@ -48,7 +48,7 @@ class Page
// Run database cleaner
if ($this->config->history->timeout)
{
$this->app->database->cleanPageHistory(
$this->app->database->cleanHistory(
$this->config->history->timeout
);
}
@ -373,7 +373,7 @@ class Page
}
// Ignore history record on same URL stored in DB
if ($result = $this->app->database->getPageHistory(0, 1))
if ($result = $this->app->database->getHistory(0, 1))
{
if ($url == $result[0]->url)
{
@ -396,7 +396,7 @@ class Page
// Update history in the database
if ($this->config->history->enabled)
{
$this->app->database->addPageHistory(
$this->app->database->addHistory(
$url
);
}