Hi everyone,
From 3.2 to 3.3 run_sql_script() is deprecated. What function should I use as replacement ?
Regards,
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Rohit Gupta@Rohit_1990_3676
Rohit Gupta - 0 likes
- Hermand Pessek@rheman
Hermand Pessek - 1 like
- Jerome Bakker@jeabakker
Jerome Bakker - 1 like
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
You must log in to post replies.In you Bootstrap.php file:
The SQL file will be called on each plugin activation.
Thanks a lot.
please keep in mind "_elgg_services()" is an internal function and changes can be made without the need for backwards compatibility.
Why do you need to run a SQL script? Can't it be solved with the existing methods like an async upgrade?
Hi @Jerome,
I am using a plugin that is not compatible with elgg-3.3.x
The plugin requires two additional tables. that's why I am asking for run_sql_script() equivalent in elgg 3.3.x.
So I just need to run a sql script that will create two database tables.
Regards,