mirror of
https://github.com/grocy/grocy.git
synced 2026-04-02 19:09:25 +02:00
Typo...
This commit is contained in:
parent
0771d58fe7
commit
bbd5ce1dc4
|
|
@ -21,7 +21,7 @@ class ApiKeyService extends BaseService
|
||||||
$apiKeyRow = $this->Database->api_keys()->where('api_key = :1 AND expires > :2 AND key_type = :3', $apiKey, date('Y-m-d H:i:s', time()), $keyType)->fetch();
|
$apiKeyRow = $this->Database->api_keys()->where('api_key = :1 AND expires > :2 AND key_type = :3', $apiKey, date('Y-m-d H:i:s', time()), $keyType)->fetch();
|
||||||
if ($apiKeyRow !== null)
|
if ($apiKeyRow !== null)
|
||||||
{
|
{
|
||||||
// This should not change the database file modification time at this is used
|
// This should not change the database file modification time as this is used
|
||||||
// to determine if REALLY something has changed
|
// to determine if REALLY something has changed
|
||||||
$dbModTime = $this->DatabaseService->GetDbChangedTime();
|
$dbModTime = $this->DatabaseService->GetDbChangedTime();
|
||||||
$apiKeyRow->update(array(
|
$apiKeyRow->update(array(
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ class SessionService extends BaseService
|
||||||
$sessionRow = $this->Database->sessions()->where('session_key = :1 AND expires > :2', $sessionKey, date('Y-m-d H:i:s', time()))->fetch();
|
$sessionRow = $this->Database->sessions()->where('session_key = :1 AND expires > :2', $sessionKey, date('Y-m-d H:i:s', time()))->fetch();
|
||||||
if ($sessionRow !== null)
|
if ($sessionRow !== null)
|
||||||
{
|
{
|
||||||
// This should not change the database file modification time at this is used
|
// This should not change the database file modification time as this is used
|
||||||
// to determine if REALLY something has changed
|
// to determine if REALLY something has changed
|
||||||
$dbModTime = $this->DatabaseService->GetDbChangedTime();
|
$dbModTime = $this->DatabaseService->GetDbChangedTime();
|
||||||
$sessionRow->update(array(
|
$sessionRow->update(array(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user