From 30ef7960aca399491423240d00d85e34b94c54f8 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 4 Oct 2009 13:39:43 -0400 Subject: [PATCH] Removing method that is no longer needed. --- cake/console/libs/schema.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/cake/console/libs/schema.php b/cake/console/libs/schema.php index 02f248979ad..c5901d3c788 100644 --- a/cake/console/libs/schema.php +++ b/cake/console/libs/schema.php @@ -84,23 +84,6 @@ function startup() { $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 *