Cleaned code in EventController
authorjdegroot <jdegroot@735d13b6-9817-0410-8766-e36946ffe9aa>
Fri, 5 Oct 2012 15:30:32 +0000 (15:30 +0000)
committerjdegroot <jdegroot@735d13b6-9817-0410-8766-e36946ffe9aa>
Fri, 5 Oct 2012 15:30:32 +0000 (15:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/roq_newsevent/trunk@66666 735d13b6-9817-0410-8766-e36946ffe9aa

Classes/Controller/EventController.php

index bac207a..253cbd3 100644 (file)
@@ -100,18 +100,6 @@ class Tx_RoqNewsevent_Controller_EventController extends Tx_News_Controller_News
      * @param array $settings
      * @return Tx_News_Domain_Model_NewsDemand
      */
-    protected function createDemandObjectFromSettings($settings) {
-       $demand = parent::createDemandObjectFromSettings($settings);
-          // TODO: Limit on news items only
-       return $demand;
-    }
-
-    /**
-     * Create the demand object which define which records will get shown
-     *
-     * @param array $settings
-     * @return Tx_News_Domain_Model_NewsDemand
-     */
     protected function eventCreateDemandObjectFromSettings($settings) {
         $demand = parent::createDemandObjectFromSettings($settings);