Fixed some issues
authorAlexander Ebert <ebert@woltlab.com>
Sun, 25 Jan 2015 23:47:03 +0000 (00:47 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 25 Jan 2015 23:47:03 +0000 (00:47 +0100)
com.woltlab.wcf/option.xml
wcfsetup/install/files/acp/update_com.woltlab.wcf_2.1.php

index 8e4c84bff2461dffa5ca81fddd0f3060db550dbd..6eb2698d870c10340f1e8db0aad6880842aff5b6 100644 (file)
                        </category>
                                <category name="general.page">
                                        <parent>general</parent>
+                                       <showorder>1</showorder>
                                </category>
                                        <category name="general.page.seo">
                                                <parent>general.page</parent>
                                        </category>
                                <category name="general.offline">
                                        <parent>general</parent>
+                                       <showorder>2</showorder>
                                </category>
                                <category name="general.system">
                                        <parent>general</parent>
+                                       <showorder>3</showorder>
                                </category>
                                        <category name="general.system.cookie">
                                                <parent>general.system</parent>
@@ -68,6 +71,7 @@
                                        </category>
                                <category name="general.mail">
                                        <parent>general</parent>
+                                       <showorder>4</showorder>
                                </category>
                                        <category name="general.mail.general">
                                                <parent>general.mail</parent>
@@ -77,6 +81,7 @@
                                        </category>
                                <category name="general.cache">
                                        <parent>general</parent>
+                                       <showorder>5</showorder>
                                </category>
                                        <category name="general.cache.general">
                                                <parent>general.cache</parent>
@@ -86,6 +91,7 @@
                                        </category>
                                <category name="general.payment">
                                        <parent>general</parent>
+                                       <showorder>6</showorder>
                                </category>
                                        <category name="general.payment.paidSubscription">
                                                <parent>general.payment</parent>
index 10a4aee12d12835e1f9e25e03e69a422c6458752..9bf180f2e46282e21f88c275d8d919fcea9b29b0 100644 (file)
@@ -3,7 +3,7 @@ use wcf\data\option\OptionEditor;
 
 /**
  * @author     Alexander Ebert
- * @copyright  2001-2014 WoltLab GmbH
+ * @copyright  2001-2015 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
  * @category   Community Framework
@@ -25,6 +25,6 @@ if (RECAPTCHA_PUBLICKEY === '6LfOlMYSAAAAADvo3s4puBAYDqI-6YK2ybe7BJE5' && RECAPT
        $options['recaptcha_privatekey'] = '';
 }
 
-OptionEditor::updateAll($options);
+OptionEditor::import($options);
 
 OptionEditor::resetCache();