Added even more debugging
authorAlexander Ebert <ebert@woltlab.com>
Sun, 26 May 2013 22:26:45 +0000 (00:26 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 26 May 2013 22:26:45 +0000 (00:26 +0200)
wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php

index b0af1d24c3933740a20721b10b3cc3a0026cd632..f262551be3640fc8dc9b3a6f0c55a50e611a4869 100644 (file)
@@ -314,6 +314,10 @@ abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInsta
         * @return      integer 
         */
        protected function getShowOrder($showOrder, $parentName = null, $columnName = null, $tableNameExtension = '') {
+               if ($this instanceof PageMenuPackageInstallationPlugin) {
+                       file_put_contents(WCF_DIR.'__pageMenu.log', "\tWARNING: Accessed AbstractXMLPackageInstallationPlugin::getShowOrder() (page menu pip has own method: " . (method_exists('wcf\system\package\plugin\PageMenuPackageInstallationPlugin', 'getShowOrder') ? 'yes' : 'no') . ")\n", FILE_APPEND);
+               }
+               
                if ($showOrder === null) {
                        // get greatest showOrder value
                        $conditions = new PreparedStatementConditionBuilder();