CVS update: /cowiki/htdocs/setup/class/task/migrator/

[email protected] 8 May 2005 00:57:54 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 2005/05/07 17:57:54

Modified:
   cowiki/htdocs/setup/class/task/migrator/interface.MigratorInterface.php
   cowiki/htdocs/setup/class/task/migrator/class.Migrator_0.php

Log:
 Added "isRequired()"

File Changes:

Directory: /cowiki/htdocs/setup/class/task/migrator/
====================================================

File [changed]: interface.MigratorInterface.php
Url: http://cowiki.tigris.org/source/browse/cowiki/htdocs/setup/class/task/migrator/interface.MigratorInterface.php?r1=1.1&r2=1.2
Delta lines:  +3 -2
-------------------
--- interface.MigratorInterface.php	17 Apr 2005 00:26:03 -0000	1.1
+++ interface.MigratorInterface.php	8 May 2005 00:57:51 -0000	1.2
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: interface.MigratorInterface.php,v 1.1 2005/04/17 00:26:03 dgorski Exp $
+ * $Id: interface.MigratorInterface.php,v 1.2 2005/05/08 00:57:51 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.1 $
+ * @version     $Revision: 1.2 $
  *
  */
 
@@ -32,6 +32,7 @@
  */
 interface MigratorInterface {
 
+    function isRequired();
     function getDescription();
     function perform();
 

File [changed]: class.Migrator_0.php
Url: http://cowiki.tigris.org/source/browse/cowiki/htdocs/setup/class/task/migrator/class.Migrator_0.php?r1=1.4&r2=1.5
Delta lines:  +10 -4
--------------------
--- class.Migrator_0.php	6 May 2005 02:45:57 -0000	1.4
+++ class.Migrator_0.php	8 May 2005 00:57:51 -0000	1.5
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.Migrator_0.php,v 1.4 2005/05/06 02:45:57 dgorski Exp $
+ * $Id: class.Migrator_0.php,v 1.5 2005/05/08 00:57:51 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.4 $
+ * @version     $Revision: 1.5 $
  *
  */
 
@@ -38,6 +38,12 @@
 
     // --------------------------------------------------------------------
 
+    public function __construct($StateHolder) {
+        $this->State = $StateHolder;
+    }
+
+    // --------------------------------------------------------------------
+
     public function getDescription() {
         $aArr = array();
 
@@ -54,8 +60,8 @@
 
     // --------------------------------------------------------------------
 
-    public function __construct($StateHolder) {
-        $this->State = $StateHolder;
+    public function isRequired() {
+        return true;
     }
 
     // --------------------------------------------------------------------