Update of /cvsroot/stack/stack-dev/install/update
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv9069/install/update
Modified Files:
Updater.php
Log Message:
Added missing trigger updating from STACK 2.0 beta to STACK 2.2
Index: Updater.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/install/update/Updater.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Updater.php 30 Sep 2010 16:56:14 -0000 1.7
--- Updater.php 21 Dec 2010 15:49:52 -0000 1.8
***************
*** 21,25 ****
require_once($root.'/lib/database/StackDBBackup.php');
! define(STACK_CURRENT, 'STACK 2.2'); //The latest version of STACK.
class Updater{
--- 21,25 ----
require_once($root.'/lib/database/StackDBBackup.php');
! define(STACK_CURRENT, 'STACK 2.2'); //The latest version of STACK: also defined in Updater.php and installFunctions() [bad!]
class Updater{
***************
*** 63,69 ****
unset($update);
- // bit of a jump!?
-
case 'STACK 2.0 beta':
require_once('updates/TwoPointTwo.php'); //load the code to update STACK to 2.2
$update = new TwoPointTwo($this->errorLog);
--- 63,68 ----
unset($update);
case 'STACK 2.0 beta':
+ case 'STACK 2.1': // no update defined
require_once('updates/TwoPointTwo.php'); //load the code to update STACK to 2.2
$update = new TwoPointTwo($this->errorLog);
|