[BUGFIX] Add DB structure update pre-processing hook in EM
authorXavier Perseguers <xavier@typo3.org>
Fri, 26 Aug 2011 10:04:27 +0000 (12:04 +0200)
committerXavier Perseguers <xavier@typo3.org>
Mon, 29 Aug 2011 04:54:23 +0000 (06:54 +0200)
commita7d33af492a471cc90a226b6e1821e1aacfca78e
tree5947209147da97a1f5c6d4d8dc6a9be5b1249a3b
parent922183aa6da8d638bd9ab8b8cb369095dabd4740
[BUGFIX] Add DB structure update pre-processing hook in EM

Extension Manager lacks a way to perform actions prior to modifying the database
structure (create new tables or add additional fields in existing ones) when
installing an extension.

This would be very handy for DBAL to let user update mapping definition from within
TYPO3 without the need to first manually edit typo3conf/localconf.php.

This is a bugfix as the feature had been accepted for 4.5.0beta1 and was wrongly
removed during Extension Manager refactoring task. In fact, the interface is still
here but never used.

Change-Id: Ia7e7035193c3448333cecc268cc3f61479e6f13d
Fixes: #23877
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4615
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/em/classes/install/class.tx_em_install.php
typo3/sysext/em/interfaces/interface.tx_em_index_checkdatabaseupdateshook.php