CVS update: /cowiki/htdocs/setup/class/task/
[email protected] 16 May 2005 22:19:48 -0000
| Newsgroups | gmane.comp.php.cowiki.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dgorski Date: 2005/05/16 15:19:48 Modified: cowiki/htdocs/setup/class/task/class.TaskDocumentStorageConnector.php Log: Fugbix File Changes: Directory: /cowiki/htdocs/setup/class/task/ =========================================== File [changed]: class.TaskDocumentStorageConnector.php Url: http://cowiki.tigris.org/source/browse/cowiki/htdocs/setup/class/task/class.TaskDocumentStorageConnector.php?r1=1.5&r2=1.6 Delta lines: +10 -2 -------------------- --- class.TaskDocumentStorageConnector.php 12 May 2005 17:08:02 -0000 1.5 +++ class.TaskDocumentStorageConnector.php 16 May 2005 22:19:46 -0000 1.6 @@ -2,7 +2,7 @@ /** * - * $Id: class.TaskDocumentStorageConnector.php,v 1.5 2005/05/12 17:08:02 dgorski Exp $ + * $Id: class.TaskDocumentStorageConnector.php,v 1.6 2005/05/16 22:19:46 dgorski Exp $ * * This file is part of coWiki. coWiki is free software under the terms of * the GNU General Public License (GPL). Read the LICENSE file. If you did @@ -17,7 +17,7 @@ * @author Daniel T. Gorski, <[email protected]> * @copyright (C) Daniel T. Gorski, {@link http://www.develnet.org} * @license http://www.gnu.org/licenses/gpl.html - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ * */ @@ -293,6 +293,14 @@ try { $Storage->useDatabase($this->State->getDocDatabaseName()); + // Apparently the database exists and is accessible. + // Remember this for the Migrators to come: + + // Now we have a valid connection to the storage; with a + // valid connector user and a valid database schema. This + // setting is required for successive Migrators. + $this->State->setHasValidDocStorageConnection(true); + } catch (StorageDatabaseSelectionException $sdse) { return $this->addError( 'You have chosen to use an existing database