Changes names of package installation plugins to camel case
authorMatthias Schmidt <gravatronics@live.com>
Wed, 28 Sep 2011 16:57:45 +0000 (18:57 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 28 Sep 2011 16:57:45 +0000 (18:57 +0200)
The package installation plugins of the notification package already use this naming convention.

com.woltlab.wcf/package.xml
com.woltlab.wcf/packageInstallationPlugin.xml
wcfsetup/install/files/lib/system/WCFSetup.class.php

index c9e5641a349a64a791a39e37ab8f4f9ab9495de3..efbf4a1c7244bd53fcfdb7c1dcc0c2a740578f44 100644 (file)
        </authorinformation>
        
        <instructions type="install">
-               <instruction type="packageinstallationplugin">packageInstallationPlugin.xml</instruction>
+               <instruction type="packageInstallationPlugin">packageInstallationPlugin.xml</instruction>
                <instruction type="acpmenu">acpMenu.xml</instruction>
-               <instruction type="usergroupoption">userGroupOption.xml</instruction>
+               <instruction type="userGroupOption">userGroupOption.xml</instruction>
                <instruction type="option">option.xml</instruction>
-               <instruction type="useroption">userOption.xml</instruction>
+               <instruction type="userOption">userOption.xml</instruction>
                <instruction type="template">template.tar</instruction>
-               <instruction type="eventlistener">eventListener.xml</instruction>
+               <instruction type="eventListener">eventListener.xml</instruction>
                <instruction type="script">acp/install.php</instruction>
                <instruction type="cronjob">cronjob.xml</instruction>
                <instruction type="coreobject">coreObject.xml</instruction>
-               <instruction type="clipboardaction">clipboardAction.xml</instruction>
-               <instruction type="clipboarditemtype">clipboardItemType.xml</instruction>
+               <instruction type="clipboardAction">clipboardAction.xml</instruction>
+               <instruction type="clipboardItemType">clipboardItemType.xml</instruction>
        </instructions>
 </package>
index 5fd4223568fdeeca394c52180dd7dce757a35723..4f2d429a4a1f3ebbd910b3aa68f0a700796ab483 100644 (file)
@@ -1,22 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/packageInstallationPlugin.xsd">
        <import>
-               <pip name="acpmenu">wcf\system\package\plugin\ACPMenuPackageInstallationPlugin</pip>
-               <pip name="acptemplate">wcf\system\package\plugin\ACPTemplatePackageInstallationPlugin</pip>
-               <pip name="clipboardaction">wcf\system\package\plugin\ClipboardActionPackageInstallationPlugin</pip>
-               <pip name="clipboarditemtype">wcf\system\package\plugin\ClipboardItemTypePackageInstallationPlugin</pip>
-               <pip name="coreobject">wcf\system\package\plugin\CoreObjectPackageInstallationPlugin</pip>
+               <pip name="acpMenu">wcf\system\package\plugin\ACPMenuPackageInstallationPlugin</pip>
+               <pip name="acpTemplate">wcf\system\package\plugin\ACPTemplatePackageInstallationPlugin</pip>
+               <pip name="clipboardAction">wcf\system\package\plugin\ClipboardActionPackageInstallationPlugin</pip>
+               <pip name="clipboardItemType">wcf\system\package\plugin\ClipboardItemTypePackageInstallationPlugin</pip>
+               <pip name="coreObject">wcf\system\package\plugin\CoreObjectPackageInstallationPlugin</pip>
                <pip name="cronjob">wcf\system\package\plugin\CronjobPackageInstallationPlugin</pip>
-               <pip name="eventlistener">wcf\system\package\plugin\EventListenerPackageInstallationPlugin</pip>
+               <pip name="eventListener">wcf\system\package\plugin\EventListenerPackageInstallationPlugin</pip>
                <pip name="file">wcf\system\package\plugin\FilePackageInstallationPlugin</pip>
-               <pip name="usergroupoption">wcf\system\package\plugin\UserGroupOptionPackageInstallationPlugin</pip>
                <pip name="language">wcf\system\package\plugin\LanguagePackageInstallationPlugin</pip>
                <pip name="option">wcf\system\package\plugin\OptionPackageInstallationPlugin</pip>
-               <pip name="pagemenu">wcf\system\package\plugin\PageMenuPackageInstallationPlugin</pip>
+               <pip name="pageMenu">wcf\system\package\plugin\PageMenuPackageInstallationPlugin</pip>
                <pip name="script">wcf\system\package\plugin\ScriptPackageInstallationPlugin</pip>
                <pip name="sql">wcf\system\package\plugin\SQLPackageInstallationPlugin</pip>
-               <pip name="templatelistener">wcf\system\package\plugin\TemplateListenerPackageInstallationPlugin</pip>
+               <pip name="templateListener">wcf\system\package\plugin\TemplateListenerPackageInstallationPlugin</pip>
                <pip name="template">wcf\system\package\plugin\TemplatePackageInstallationPlugin</pip>
-               <pip name="useroption">wcf\system\package\plugin\UserOptionPackageInstallationPlugin</pip>
+               <pip name="userGroupOption">wcf\system\package\plugin\UserGroupOptionPackageInstallationPlugin</pip>
+               <pip name="userOption">wcf\system\package\plugin\UserOptionPackageInstallationPlugin</pip>
        </import>
 </data>
index 9dd0722a946fec8f0e72098f1b3e9deb40f0cbc6..5f323120d8d491ae14cce00864b54d060b779d08 100644 (file)
@@ -694,7 +694,7 @@ class WCFSetup extends WCF {
                        VALUES          (?, ?, ?)";
                $statement = self::getDB()->prepareStatement($sql);
                $statement->execute(array(
-                       'packageinstallationplugin',
+                       'packageInstallationPlugin',
                        1,
                        'wcf\system\package\plugin\PIPPackageInstallationPlugin'
                ));