Skip to content
Permalink
Browse files

Renaming schema.php to cake_schema.php. Modifying relevant App::impor…

…t calls.
  • Loading branch information...
jperras committed Mar 16, 2009
1 parent 527b1f9 commit 70e0316cd2b638e804c655ce215dc572a3f4b0f4
@@ -26,7 +26,7 @@
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
App::import('File');
App::import('Model', 'Schema');
App::import('Model', 'CakeSchema');
/**
* Schema is a command-line database management utility for automating programmer chores.
*
@@ -832,7 +832,7 @@ function help() {
*/
function fixture($model, $useTable = null) {
if (!class_exists('CakeSchema')) {
App::import('Model', 'Schema');
App::import('Model', 'CakeSchema');
}
$out = "\nclass {$model}Fixture extends CakeTestFixture {\n";
$out .= "\tvar \$name = '$model';\n";
File renamed without changes.
@@ -23,7 +23,7 @@
* @lastmodified $Date$
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/
App::import('Core', 'Schema');
App::import('Core', 'CakeSchema');
/**
* Test for Schema database management
@@ -509,7 +509,7 @@ function testColumn() {
* @return void
*/
function testAlterSchemaIndexes() {
App::import('Core', 'Schema');
App::import('Core', 'CakeSchema');
$this->db->cacheSources = $this->db->testing = false;
$schema1 =& new CakeSchema(array(
@@ -50,7 +50,7 @@ class CakeTestFixture extends Object {
* @access public
*/
function __construct() {
App::import('Model', 'Schema');
App::import('Model', 'CakeSchema');
$this->Schema = new CakeSchema(array('name' => 'TestSuite', 'connection' => 'test_suite'));
$this->init();

0 comments on commit 70e0316

Please sign in to comment.
You can’t perform that action at this time.