[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [19059] fix mapping of contacts on upgrade
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] [19059] fix mapping of contacts on upgrade |
Date: |
Wed, 11 Feb 2009 08:08:23 +0000 |
Revision: 19059
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19059
Author: skwashd
Date: 2009-02-11 08:08:22 +0000 (Wed, 11 Feb 2009)
Log Message:
-----------
fix mapping of contacts on upgrade
Modified Paths:
--------------
branches/Version-0_9_16-branch/infolog/setup/tables_update.inc.php
Modified: branches/Version-0_9_16-branch/infolog/setup/tables_update.inc.php
===================================================================
--- branches/Version-0_9_16-branch/infolog/setup/tables_update.inc.php
2009-02-11 08:07:49 UTC (rev 19058)
+++ branches/Version-0_9_16-branch/infolog/setup/tables_update.inc.php
2009-02-11 08:08:22 UTC (rev 19059)
@@ -259,4 +259,22 @@
$GLOBALS['setup_info']['infolog']['currentver'] = '0.9.15.006';
return $GLOBALS['setup_info']['infolog']['currentver'];
}
-?>
+
+ $test[] = '0.9.15.006';
+ /**
+ * Upgrade to 0.9.15.006 - Fixes existing addressbook links
+ *
+ * @return string current infolog version
+ */
+ /*
+ function infolog_upgrade0_9_15_006()
+ {
+ $sql = 'UPDATE phpgw_links, phpgw_contact'
+ . ' SET phpgw_links.link_id2 = phpgw_contact.contact_id'
+ . " WHERE phpgw_links.link_app2 = 'addressbook' AND
phpgw_links.link_id2 = phpgw_contact.ab_id";
+
+ $GLOBALS['phpgw_setup']->oProc->query($sql);
+ $GLOBALS['setup_info']['infolog']['currentver'] = '0.9.15.007';
+ return $GLOBALS['setup_info']['infolog']['currentver'];
+ }
+ */
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [19059] fix mapping of contacts on upgrade,
Dave Hall <=