added caches.listing_last_modified; db-changelog fixes

This commit is contained in:
following
2013-03-20 12:06:53 +01:00
parent d5ee4baef8
commit 085c13983f
13 changed files with 102 additions and 44 deletions

View File

@@ -85,6 +85,7 @@ class cache
$this->reCache->addInt('node', 0, false);
$this->reCache->addDate('date_created', time(), true, RE_INSERT_IGNORE);
$this->reCache->addDate('last_modified', time(), true, RE_INSERT_IGNORE);
$this->reCache->addDate('listing_last_modified', time(), true, RE_INSERT_IGNORE);
$this->reCache->addInt('user_id', 0, false);
$this->reCache->addString('name', '', false);
$this->reCache->addDouble('longitude', 0, false);
@@ -173,13 +174,17 @@ class cache
{
return $this->reCache->getValue('uuid');
}
function getDateCreated()
{
return $this->reCache->getValue('date_created');
}
function getLastModified()
{
return $this->reCache->getValue('last_modified');
}
function getDateCreated()
function getListingLastModified()
{
return $this->reCache->getValue('date_created');
return $this->reCache->getValue('listing_last_modified');
}
function getNode()
{