Remove temporary code for development
authorMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 12:46:23 +0000 (14:46 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 12:46:23 +0000 (14:46 +0200)
See #2545

wcfsetup/install/files/lib/system/devtools/pip/TXmlGuiPackageInstallationPlugin.class.php

index 102406118ab62047537215500ba1eb93f6072915..b9a52a9c1b828d6fc2f048b1c4d9983a14aef30c 100644 (file)
@@ -55,9 +55,7 @@ trait TXmlGuiPackageInstallationPlugin {
                /** @var DevtoolsProject $project */
                $project = $this->installation->getProject();
                
-               // TODO: while creating/testing the gui, write into a temporary file
-               // $xml->write($this->getXmlFileLocation($project));
-               $xml->write($project->path . ($project->getPackage()->package === 'com.woltlab.wcf' ? 'com.woltlab.wcf/' : '') . 'tmp_' . static::getDefaultFilename());
+               $xml->write($this->getXmlFileLocation($project));
        }
        
        /**
@@ -95,9 +93,7 @@ trait TXmlGuiPackageInstallationPlugin {
                /** @var DevtoolsProject $project */
                $project = $this->installation->getProject();
                
-               // TODO: while creating/testing the gui, write into a temporary file
-               // $xml->write($this->getXmlFileLocation($project));
-               $xml->write($project->path . ($project->getPackage()->package === 'com.woltlab.wcf' ? 'com.woltlab.wcf/' : '') . 'tmp_' . static::getDefaultFilename());
+               $xml->write($this->getXmlFileLocation($project));
                
                return $this->getElementIdentifier($newElement);
        }