On Tue, Jun 19, 2012 at 6:22 AM, James HK <firstname.lastname@example.org>
I haven't looked at the change in full but I know
deleteSemanticData included a wfRunHooks( 'smwDeleteSemanticData',
array( $subject ) ) and with this method gone neither SMW_SQLStore2
nor SMW_SQLStore2_Writers includes the hook.
The method isn't gone, its still there in SQLStore2. However, doDatauUdate doesn't use this anymore. It instead uses deleteTableSemanticData() - which is a similar method but only deletes SMWdata from a particular table.
We need some of those hooks during the query cache invalidation
process. If you plan to change some of those hooks on instances where
update/delete or change events are happening, please let us know in
advance and ensure a deprecated message for other developers.
// SWM Query Cache
'SMWQueryCache::onUpdateDataBefore'; // invalidate on update
'SMWQueryCache::onDeleteSemanticData'; // invalidate on delete
'SMWQueryCache::onChangeTitle'; // invalidate on moveTitle it is not
included in update