Browse Source

Remove welcome message and remove dead paths.

Welcome messages on tasks make no sense, the excluded paths no longer
exist, so they can be removed entirely.

Refs #7345
Mark Story 10 years ago
parent
commit
530719bd95
1 changed files with 9 additions and 4 deletions
  1. 9 4
      src/Shell/Task/ExtractTask.php

+ 9 - 4
src/Shell/Task/ExtractTask.php

@@ -106,6 +106,15 @@ class ExtractTask extends Shell
     protected $_extractCore = false;
 
     /**
+     * No welcome message.
+     *
+     * @return void
+     */
+    protected function _welcome()
+    {
+    }
+
+    /**
      * Method to interact with the User and get path selections.
      *
      * @return void
@@ -182,10 +191,6 @@ class ExtractTask extends Shell
 
         if ($this->_extractCore) {
             $this->_paths[] = CAKE;
-            $this->_exclude = array_merge($this->_exclude, [
-                CAKE . 'Test',
-                CAKE . 'Console' . DS . 'Templates'
-            ]);
         }
 
         if (isset($this->params['output'])) {