fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14656] more on bookingfrontend


From: Sigurd Nes
Subject: [Fmsystem-commits] [14656] more on bookingfrontend
Date: Sun, 17 Jan 2016 15:15:25 +0000

Revision: 14656
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14656
Author:   sigurdne
Date:     2016-01-17 15:15:24 +0000 (Sun, 17 Jan 2016)
Log Message:
-----------
more on bookingfrontend

Added Paths:
-----------
    branches/dev-syncromind/activitycalendarfrontend/setup/tables_update.inc.php
    branches/dev-syncromind/bookingfrontend/setup/tables_update.inc.php

Added: 
branches/dev-syncromind/activitycalendarfrontend/setup/tables_update.inc.php
===================================================================
--- 
branches/dev-syncromind/activitycalendarfrontend/setup/tables_update.inc.php    
                            (rev 0)
+++ 
branches/dev-syncromind/activitycalendarfrontend/setup/tables_update.inc.php    
    2016-01-17 15:15:24 UTC (rev 14656)
@@ -0,0 +1,18 @@
+<?php
+
+       /**
+        * Update Activitycalendar from v 0.1 to 0.1.1
+        */
+
+       $test[] = '0.1';
+       function activitycalendarfrontend_upgrade0_1()
+       {
+               $c               = createobject('phpgwapi.config', 
'activitycalendarfrontend');
+               $c->read();
+               $c->config_data['anonymous_passwd'] = 
$c->config_data['anonymous_pass'];
+               $c->save_repository(True);
+               
+               
$GLOBALS['setup_info']['activitycalendarfrontend']['currentver'] = '0.1.1';
+               return 
$GLOBALS['setup_info']['activitycalendarfrontend']['currentver'];
+       }
+       

Added: branches/dev-syncromind/bookingfrontend/setup/tables_update.inc.php
===================================================================
--- branches/dev-syncromind/bookingfrontend/setup/tables_update.inc.php         
                (rev 0)
+++ branches/dev-syncromind/bookingfrontend/setup/tables_update.inc.php 
2016-01-17 15:15:24 UTC (rev 14656)
@@ -0,0 +1,18 @@
+<?php
+
+       /**
+        * Update Activitycalendar from v 0.1 to 0.1.1
+        */
+
+       $test[] = '0.1';
+       function bookingfrontend_upgrade0_1()
+       {
+               $c = createobject('phpgwapi.config', 'bookingfrontend');
+               $c->read();
+               $c->config_data['anonymous_user'] = 'bookingguest';
+               $c->save_repository(True);
+               
+               $GLOBALS['setup_info']['bookingfrontend']['currentver'] = 
'0.1.1';
+               return $GLOBALS['setup_info']['bookingfrontend']['currentver'];
+       }
+       




reply via email to

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