|
[F] Old setting and/or settinggroups not deleted
|
|
08-06-2008, 09:34 PM
Post: #1
|
|||
|
|||
|
[F] Old setting and/or settinggroups not deleted
Hello,
I searched... but I think that this bug wasn't reported. I installed a new fresh and clean install of MyBB 1.2.14, then I uploaded 1.4 files and I ran the upgrade script. I noticed that some old settings and/or settinggroups weren't deleted from the datababase and keeps appearing in ACP ! Here the list: - setting name "cssmedium" in "server" settinggroup - settinggroup name "showteam" - settinggroup name "banning" existing in 1.2.14 but no more used 1.4 are displayed in ACP. The upgrade script doesn't delete them from the db. An oversight ? Regards |
|||
|
08-07-2008, 12:57 AM
Post: #2
|
|||
|
|||
|
RE: Old setting and/or settinggroups not deleted
install/upgrade.php
PHP Code: foreach($settinggroups as $groupname)lines 790-804. First person to figure out what's wrong and can provide a solution that's been tested and works with independent sources, gets 5$ (paypal) |
|||
|
08-07-2008, 02:09 AM
Post: #3
|
|||
|
|||
|
RE: Old setting and/or settinggroups not deleted
Hmm, shouldn't it be...
PHP Code: foreach($settinggroups as $groupname => $gid)First person to test that "with independent sources" gets $5 from Tikitiki.
|
|||
|
08-07-2008, 02:21 AM
(This post was last modified: 08-07-2008 02:23 AM by LegosJedi.)
Post: #4
|
|||
|
|||
|
RE: Old setting and/or settinggroups not deleted
EDIT: Gah, you beat me! Dang it! It'll work. It pretty much does the same thing as my code, but yours is probably more efficient.
Here's my fix, Tikitiki. Tested and works! Starts at line 679 and goes to line 768. PHP Code: $query = $db->simple_select("settings", "name,sid", "isdefault='1' OR isdefault='yes'");Please do not PM me about problems you might be having with MyBB. Post a thread, and someone on the support or development team will take a look at it. |
|||
|
08-07-2008, 02:24 AM
Post: #5
|
|||
|
|||
|
RE: Old setting and/or settinggroups not deleted
Oops, sorry, I guess I didn't mention that staff don't count
![]() j/k PM me or something if you really want it. |
|||
|
08-07-2008, 02:30 AM
Post: #6
|
|||
|
|||
|
[F] Old setting and/or settinggroups not deleted
Thank you for your bug report.
This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)
Search
Member List
Calendar
Help



