mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
delete data from cache
This commit is contained in:
@@ -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 = ?');
|
$statement = $connection->prepare('INSERT INTO technical_datas (record_id, name, value) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE value = ?');
|
||||||
array_walk($sqlValues, [$statement, 'execute']);
|
array_walk($sqlValues, [$statement, 'execute']);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$this->delete_data_from_cache(self::CACHE_TECHNICAL_DATA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user