comanage-dev - [comanage-dev] r432 - registry/trunk/app/Console/Command
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r432 - registry/trunk/app/Console/Command
- Date: Tue, 29 Jan 2013 22:37:24 -0500
Author: benno
Date: 2013-01-29 22:37:24 -0500 (Tue, 29 Jan 2013)
New Revision: 432
Modified:
registry/trunk/app/Console/Command/DatabaseShell.php
Log:
Fix database console cake 2.3 error (CO-535)
Modified: registry/trunk/app/Console/Command/DatabaseShell.php
===================================================================
--- registry/trunk/app/Console/Command/DatabaseShell.php 2013-01-29
17:24:11 UTC (rev 431)
+++ registry/trunk/app/Console/Command/DatabaseShell.php 2013-01-30
03:37:24 UTC (rev 432)
@@ -2,7 +2,7 @@
/**
* COmanage Registry Database Shell
*
- * Copyright (C) 2011-12 University Corporation for Advanced Internet
Development, Inc.
+ * Copyright (C) 2011-13 University Corporation for Advanced Internet
Development, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with
* the License. You may obtain a copy of the License at
@@ -14,7 +14,7 @@
* KIND, either express or implied. See the License for the specific
language governing
* permissions and limitations under the License.
*
- * @copyright Copyright (C) 2011-12 University Corporation for Advanced
Internet Development, Inc.
+ * @copyright Copyright (C) 2011-13 University Corporation for Advanced
Internet Development, Inc.
* @link http://www.internet2.edu/comanage COmanage Project
* @package registry
* @since COmanage Registry v0.1
@@ -22,6 +22,7 @@
* @version $Id$
*/
+ App::import('Controller', 'AppController');
App::import('Model', 'ConnectionManager');
// App::import doesn't handle this correctly
@@ -36,7 +37,7 @@
// to do upgrades).
// Use the ConnectionManager to get the database config to pass to
adodb.
- $db =& ConnectionManager::getDataSource('default');
+ $db = ConnectionManager::getDataSource('default');
$db_driver = split("/", $db->config['datasource'], 2);
- [comanage-dev] r432 - registry/trunk/app/Console/Command, svnlog, 01/29/2013
Archive powered by MHonArc 2.6.16.