Minor changes due to codereview
authorjdegroot <jdegroot@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 15 May 2014 10:24:10 +0000 (10:24 +0000)
committerjdegroot <jdegroot@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 15 May 2014 10:24:10 +0000 (10:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/roq_newsevent/branches/3.0.0@85257 735d13b6-9817-0410-8766-e36946ffe9aa

Classes/Controller/EventController.php
Classes/ViewHelpers/Format/TrimViewHelper.php
ext_emconf.php

index 4b7c741..f02df88 100644 (file)
@@ -209,7 +209,7 @@ class Tx_RoqNewsevent_Controller_EventController extends Tx_News_Controller_News
             if ((int)$this->settings['singleNews'] > 0) {
                 $previewNewsId = $this->settings['singleNews'];
             } elseif ($this->request->hasArgument('news_preview')) {
-                $previewNewsId = $this->request->getArgument('news_preview');;
+                $previewNewsId = $this->request->getArgument('news_preview');
             } else {
                 $previewNewsId = $this->request->getArgument('news');
             }
index 77f06e6..65ec92b 100644 (file)
@@ -19,7 +19,7 @@ class Tx_RoqNewsevent_ViewHelpers_Format_TrimViewHelper extends Tx_Fluid_Core_Vi
                $content = $this->renderChildren();
 
         if($replaceDoubleSpaces) {
-            $content = preg_replace("/\s\s+/", " ", $content);
+            $content = preg_replace('/\s\s+/', ' ', $content);
         }
 
         if($trimTabs) {
index dec7531..7cc5496 100644 (file)
@@ -16,7 +16,7 @@ $EM_CONF[$_EXTKEY] = array (
        'category' => 'plugin',
        'shy' => 0,
        'version' => '3.0.0-dev',
-       'dependencies' => 'extbase,fluid,news',
+       'dependencies' => 'news',
        'conflicts' => '',
        'priority' => '',
        'loadOrder' => '',
@@ -36,8 +36,6 @@ $EM_CONF[$_EXTKEY] = array (
        array (
                'depends' => 
                array (
-                       'extbase' => '1.3',
-                       'fluid' => '1.3',
                        'typo3' => '6.2.1-6.2.99',
                        'news' => '3.0.0',
                ),