MantisBT: master 4917320b
| Author | Committer | Branch | Timestamp | Parent |
|---|---|---|---|---|
| dregad | dregad | master | 2017-04-12 04:29 | master 06e76774 |
| Affected Issues | 0016038: Make db_get_table() backwards-compatible with 1.2. | |||
| 0020168: Use of 'mantis' as plugin table prefix prevents plugin's installation | ||||
| Changeset | db_get_table() also check suffix for legacy-style names If $db_table_plugin_prefix contains 'mantis', db_gettable() function If $db_table_suffix also is not set to '_table', then the generated table We now use a regex to check for legacy tables, verifying that it ends Note on performance: while preg_match() is slower than strpos(), it is Fixes 0020168 |
|||
| mod - core/database_api.php | Diff File | |||