delete data from cache

This commit is contained in:
aina-esokia
2018-06-13 17:56:17 +04:00
parent 923265f71b
commit 3996f842a2

View File

@@ -1364,6 +1364,8 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
$statement = $connection->prepare('INSERT INTO technical_datas (record_id, name, value) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE value = ?');
array_walk($sqlValues, [$statement, 'execute']);
});
$this->delete_data_from_cache(self::CACHE_TECHNICAL_DATA);
}
}