phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r676 - trunk/transform


From: phpcompta-dev
Subject: [Phpcompta-dev] r676 - trunk/transform
Date: Sat, 1 Feb 2014 16:14:35 +0100 (CET)

Author: danydb
Date: 2014-02-01 16:14:35 +0100 (Sat, 01 Feb 2014)
New Revision: 676

Modified:
   trunk/transform/index.php
Log:
Correct update and install procedure

Modified: trunk/transform/index.php
===================================================================
--- trunk/transform/index.php   2014-01-31 23:15:23 UTC (rev 675)
+++ trunk/transform/index.php   2014-02-01 15:14:35 UTC (rev 676)
@@ -22,7 +22,7 @@
 $version_plugin=SVNINFO;
 Extension::check_version(4400);
 $cn=new Database(dossier::id());
-$transform_version=1;
+$transform_version=0;
 
 if ( $cn->exist_schema('transform') == false)
   {
@@ -31,11 +31,11 @@
     $iplugn=new Install_Transform($cn);
     $iplugn->install();
  }
- if ( $cn->get_value('select max(version_id) from transform.version') < 
$transform_version)
+ if ( $cn->get_value('select max(v_id) from transform.version') < 
$transform_version)
 {
-       require_once('include/class_rapav_install.php');
-       $iplugn = new Rapav_Install($cn);
-       $iplugn->upgrade($rapav_version);
+       require_once('include/class_install_transform.php');
+       $iplugn = new Install_Transform($cn);
+       $iplugn->upgrade($transform_version);
 }
 echo '<div style="float:right"><a class="mtitle" style="font-size:140%" 
href="http://wiki.phpcompta.eu/doku.php?id=transformateur"; 
target="_blank">Aide</a>'.
 '<span style="font-size:0.8em;color:red;display:inline">vers:SVNINFO</span>'.



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]