コード例 #1
0
 /**
  * @see PackageUninstallation::uninstall()
  */
 protected function uninstall()
 {
     try {
         switch ($this->step) {
             case 'optionals':
                 $this->nextStep = $this->uninstallOptionals();
                 break;
             default:
                 return parent::uninstall();
         }
         WCF::getTPL()->assign('nextStep', $this->nextStep);
         WCF::getTPL()->display('packageInstallationNext');
     } catch (SystemException $e) {
         $this->showPackageInstallationException($e);
     }
 }