mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
remove extra namespace
This commit is contained in:
parent
8aef22ed74
commit
124cef3058
2 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue