Skip to content

Commit

Permalink
Removing method that is no longer needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 4, 2009
1 parent aae120a commit 30ef796
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions cake/console/libs/schema.php
Expand Up @@ -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
*
Expand Down

0 comments on commit 30ef796

Please sign in to comment.