Fixes two typoes (PHPDoc + Variable)
authorTim Düsterhus <timwolla@arcor.de>
Fri, 3 Feb 2012 16:56:09 +0000 (17:56 +0100)
committerTim Düsterhus <timwolla@arcor.de>
Fri, 3 Feb 2012 16:56:09 +0000 (17:56 +0100)
wcfsetup/install/files/lib/system/WCF.class.php
wcfsetup/install/files/lib/system/exception/LoggedException.class.php

index a5dd3b07f2d76efbea1cdea17f95b54cdcbf223f..4414239bcdd4393a176d0ecdc8e973a11341d34c 100644 (file)
@@ -407,7 +407,7 @@ class WCF {
         * @param       wcf\data\application\Application                $application
         * @param       boolean                                         $isDependentApplication
         */     
-       protected function loadApplication(Application $application, $isDepedentApplication = false) {
+       protected function loadApplication(Application $application, $isDependentApplication = false) {
                $package = PackageCache::getInstance()->getPackage($application->packageID);
                
                $abbreviation = ApplicationHandler::getInstance()->getAbbreviation($application->packageID);
@@ -439,7 +439,7 @@ class WCF {
                if (class_exists('wcf\system\WCFACP', false)) {
                        $this->getTPL()->addTemplatePath($application->packageID, $packageDir . 'acp/templates/');
                }
-               else if (!$isDepedentApplication) {
+               else if (!$isDependentApplication) {
                        // load options
                        $this->loadOptions($packageDir.'options.inc.php', $application->packageID);
                        
index b04573424c2698f5341fdcc9268c6c1737398e47..f00d11ef2649cdfad8e29e62a904cf344d1f6675 100644 (file)
@@ -15,7 +15,7 @@ use wcf\system\WCF;
  */
 class LoggedException extends \Exception {
        /**
-        * Surpresses the original error message.
+        * Suppresses the original error message.
         * 
         * @see         \Exception::getMessage()
         */