Skip to:

Opened 4 years ago

Closed 4 years ago

#2748 closed defect (fixed)

Update is ran on new installations

Reported by: johnjamesjacoby Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.1
Component: API - Installation/Upgrade Keywords: commit


On new installations, bbp_version_updater() runs through all version comparisons and calls a bunch of functions that have no reason to run, as nothing needs to be updated yet.

Change History (2)

#1 @johnjamesjacoby
4 years ago

A simple fix is to check if $raw_db_version is empty and avoid those version comparisons if-so.

#2 @johnjamesjacoby
4 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 5607:

In bbp_version_updater() only run update routines if a previous installation exists to update. Fixes #2748.

Note: See TracTickets for help on using tickets.