11
This commit is contained in:
@ -18,5 +18,18 @@ class TableCustomerUserCache extends TableBaseCache
|
||||
'google_auth_secret',
|
||||
];
|
||||
|
||||
function loadData(): array|string|null
|
||||
{
|
||||
|
||||
|
||||
$oTable = new $this->table_class();
|
||||
$oData = $oTable->findItemByWhere([$this->primary_key_column => $this->primary_key], $this->get_columns);
|
||||
|
||||
if (!$oData) return null;
|
||||
|
||||
$aData = $oData->toArray();
|
||||
if (empty($aData)) return null;
|
||||
|
||||
return $aData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user