Closed Bug 276792 Opened 20 years ago Closed 20 years ago

VersionCheck should use common DB config

Categories

(addons.mozilla.org Graveyard :: Administration, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bugzilla-alanjstrBugs, Assigned: cso)

Details

Attachments

(1 file)

Instead of having the dbconfig at the top, the service should use the common set
of data cleanup for $_GET and $_POST and conneciton info for dbconfig.
Component: Listings → Administration
VersionCheck is not integrated with the rest of the code.. Its mostly
intentional that way, as there's nothing requiring aus.mozilla.org (or any
versionCheck instance) from being on the same hardware as an Update/Addons instance.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
It uses the same database.  Changing the config for one means having to change
the config for the other.  The sysadmins agreed with this.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Then why was that not in Comment #0? :-) Seriously, a bug should be readable
enough for *all* information to be present in it without having to lurk around
IRC and in private conversations etc. 
Status: REOPENED → NEW
Target Milestone: 1.0 → 1.1
Attached patch Patch v1Splinter Review
Patch v1.

Use the include file, and since it defines a connection, remove the connection
stuff from VersionCheck.php
Assignee: nobody → colin.ogilvie
Status: NEW → ASSIGNED
Attachment #171575 - Flags: first-review?(Bugzilla-alanjstrBugs)
Attachment #171575 - Flags: first-review?(Bugzilla-alanjstrBugs) → first-review+
Trunk:
Checking in mozilla/webtools/update/update/VersionCheck.php;
/cvsroot/mozilla/webtools/update/update/VersionCheck.php,v  <--  VersionCheck.php
new revision: 1.7; previous revision: 1.6
done

Branch:
Checking in mozilla/webtools/update/update/VersionCheck.php;
/cvsroot/mozilla/webtools/update/update/VersionCheck.php,v  <--  VersionCheck.ph
p
new revision: 1.5.2.2; previous revision: 1.5.2.1
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: