Improve code comments in code from previous commit
authorMatthias Schmidt <gravatronics@live.com>
Thu, 27 Mar 2014 17:57:36 +0000 (18:57 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 27 Mar 2014 17:57:36 +0000 (18:57 +0100)
wcfsetup/install/files/lib/acp/form/StyleImportForm.class.php

index f31756c1ab99f9d3086dd217a9b92c150a6a1181..830a90503bffe34bf201f5b5000329d27df6ead1 100644 (file)
@@ -72,11 +72,12 @@ class StyleImportForm extends AbstractForm {
                        $archive = new PackageArchive($this->source['tmp_name']);
                        $archive->openArchive();
                        
-                       // check if the package includes a style
+                       // check if the package is an application
                        if ($archive->getPackageInfo('isApplication')) {
                                throw new SystemException("Package is application");
                        }
                        
+                       // check if the package includes a style
                        $containsStyle = false;
                        $installInstructions = $archive->getInstallInstructions();
                        foreach ($installInstructions as $instruction) {