Jump to content


Photo

Several tables not listed in gallery_mysql_tables.php


The following tables no longer show up in the gallery_mysql_tables.php file as being ones that get created upon installation, but there are numerous references in the code to there being places where data is being selected, updated, inserted, or deleted:

  • gallery_albums
  • gallery_categories
  • gallery_ecardlog
  • gallery_favorites
  • gallery_subscriptions
These tables either need listed in the gallery_mysql_tables.php file so they are created upon a fresh install, or they need to be removed from the various places where they are called now.

Status: Fixed
Version: 4.2.2
Fixed In: 5.0.0 Beta 1


4 Comments

Updating status to: Flagged For Future Version

That's WAI right now, we want to retain the old tables in case of issues to run the rebuild scripts. We will remove them in a future version.
Looks like this has since been addressed. The only place gallery_albums/gallery_categories is referenced is in the ACP tools, which is logical. The rest are not referenced anywhere outside of upgrade routines.
The tables are not referenced anymore in the code but I don't recall adding them in the upgrader to be removed however, that still stands.
Updating Fixed In to: 5.0.0 Beta 1
Updating Status to: Fixed
Updating Version to: 4.2.2

-