mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
implement separated models
This commit is contained in:
parent
47b7344e2e
commit
10534df069
17 changed files with 662 additions and 520 deletions
|
|
@ -88,19 +88,19 @@ class Browser
|
|||
if ($pid === 0)
|
||||
{
|
||||
// Reset previous records
|
||||
$this->database->cleanSession();
|
||||
$this->database->session->clean();
|
||||
|
||||
foreach ($this->container->tab->pages as $page)
|
||||
{
|
||||
// Save page session data
|
||||
$this->database->addSession(
|
||||
$this->database->session->add(
|
||||
$page->navbar->request->getValue()
|
||||
);
|
||||
|
||||
// Cache connection pool data
|
||||
if ($page->connection)
|
||||
{
|
||||
$this->database->renewCache(
|
||||
$this->database->cache->renew(
|
||||
$page->navbar->request->getValue(),
|
||||
$page->connection->getMime(),
|
||||
$page->connection->getTitle(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue