Problem deleting DB files after plugin update

10 views
Skip to first unread message

El Moribond

unread,
Jun 11, 2013, 5:35:56 PM6/11/13
to joomla-...@googlegroups.com
Hi everyone,

This is version 1.1.2 of my XML:
<install folder="site">
<sql>
<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
<file driver="postgres" charset="utf8">sql/install.postgres.utf8.sql</file>
</sql>
</install>
<uninstall folder="site">
<sql>
<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
<file driver="postgres" charset="utf8">sql/uninstall.postgres.utf8.sql</file>
</sql>
</uninstall>
<update>
<schemas>
<schemapath type="mysql">sql/updates/mysql</schemapath>
</schemas>
</update>

I noticed the error, thank you.
For version 1.2, I would give Postgres.
So here is the version 1.2 of XML:
<install folder="site">
<sql>
<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
</sql>
</install>
<uninstall folder="site">
<sql>
<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
</sql>
</uninstall>
<update>
<schemas>
<schemapath type="mysql">sql/updates/mysql</schemapath>
</schemas>
</update>

My problem is that during the update, the Postgres files are not deleted.
Do you have a solution to avoid me deleting files via PHP?

Thanks very much
Reply all
Reply to author
Forward
0 new messages