diff --git a/cake/console/libs/schema.php b/cake/console/libs/schema.php index 02f248979..c5901d3c7 100644 --- a/cake/console/libs/schema.php +++ b/cake/console/libs/schema.php @@ -84,23 +84,6 @@ class SchemaShell extends Shell { $this->Schema =& new CakeSchema(compact('name', 'path', 'file', 'connection', 'plugin')); } -/** - * Get the correct path for the params. Uses path, and plugin to find the correct path. - * path param takes precedence over any plugins specified. - * - * @return mixed string to correct path or null. - **/ - function _getPath() { - if (!empty($this->params['path'])) { - return $this->params['path']; - } - if (!empty($this->params['plugin'])) { - $pluginPath = $this->_pluginPath($this->params['plugin']); - return $pluginPath . 'config' . DS . 'schema' . DS; - } - return null; - } - /** * Override main *