Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Mon, 2 Dec 2013 15:39:11 +0000 (16:39 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 2 Dec 2013 15:46:49 +0000 (16:46 +0100)
wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl
wcfsetup/install/files/acp/templates/tagAdd.tpl
wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php

index 5d75f1d76b07afb22ad8edfc6f839429861502a9..e5d8bd67bd180190329918cd7777457273029982 100644 (file)
        <h1>{lang}wcf.acp.updateServer.list{/lang}</h1>
 </header>
 
-{if $deletedPackageUpdateServerID}
-       <p class="success">{lang}wcf.acp.updateServer.delete.success{/lang}</p>
-{/if}
-
 <div class="contentNavigation">
        {pages print=true assign=pagesLinks controller="PackageUpdateServerList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
        
index b3df2a06d859d5a1967e26f7f4596c0c9f084416..e936215bb02ea528a2cb5da4c8eec98cd007a938 100644 (file)
                                        <dd>
                                                <div id="synonymList" class="editableItemList"></div>
                                                <input id="synonyms" type="text" value="" class="long" />
-                                               {if $errorField == 'synonyms'}
-                                                       <small class="innerError">
-                                                               {if $errorType == 'duplicate'}
-                                                                       {lang}wcf.acp.tag.error.synonym.duplicate{/lang}
-                                                               {/if}
-                                                       </small>
-                                               {/if}
                                        </dd>
                                </dl>
                                
index f5abb396f7a6cc5efafab9d7a2806b3590634af0..f624160bb0a36e03fa4ed4ed6e54dfe763d9cad1 100755 (executable)
@@ -1,7 +1,6 @@
 <?php
 namespace wcf\acp\page;
 use wcf\page\SortablePage;
-use wcf\system\WCF;
 
 /**
  * Shows information about available update package servers.
@@ -39,21 +38,6 @@ class PackageUpdateServerListPage extends SortablePage {
         */
        public $objectListClassName = 'wcf\data\package\update\server\PackageUpdateServerList';
        
-       /**
-        * id of a package update server that has just been deleted
-        * @var integer
-        */
-       public $deletedPackageUpdateServerID = 0;
-       
-       /**
-        * @see \wcf\page\IPage::readParameters()
-        */
-       public function readParameters() {
-               parent::readParameters();
-               
-               if (isset($_REQUEST['deletedPackageUpdateServerID'])) $this->deletedPackageUpdateServerID = intval($_REQUEST['deletedPackageUpdateServerID']);
-       }
-       
        /**
         * @see \wcf\page\MultipleLinkPage::readObjects()
         */
@@ -62,15 +46,4 @@ class PackageUpdateServerListPage extends SortablePage {
                
                parent::readObjects();
        }
-       
-       /**
-        * @see \wcf\page\IPage::assignVariables()
-        */
-       public function assignVariables() {
-               parent::assignVariables();
-               
-               WCF::getTPL()->assign(array(
-                       'deletedPackageUpdateServerID' => $this->deletedPackageUpdateServerID
-               ));
-       }
 }