r56083 - /trunk/egroupware/api/setup/tables_update.inc.php

classic Classic list List threaded Threaded
1 message Options
ralfbecker_sf ralfbecker_sf
Reply | Threaded
Open this post in threaded view
|

r56083 - /trunk/egroupware/api/setup/tables_update.inc.php

Author: ralfbecker
Date: Sat May  7 09:50:33 2016
New Revision: 56083

URL: http://svn.stylite.de/viewvc/egroupware?rev=56083&view=rev
Log:
fix home-accounts in egw_customfields and egw_links to api-accounts

Modified:
    trunk/egroupware/api/setup/tables_update.inc.php

Modified: trunk/egroupware/api/setup/tables_update.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/setup/tables_update.inc.php?rev=56083&r1=56082&r2=56083&view=diff
==============================================================================
--- trunk/egroupware/api/setup/tables_update.inc.php (original)
+++ trunk/egroupware/api/setup/tables_update.inc.php Sat May  7 09:50:33 2016
@@ -74,14 +74,13 @@
  */
 function api_upgrade16_1_001()
 {
-    $db = new EGroupware\Api\Db;
  foreach(array(
  'cf_type' => 'egw_customfields',
  'link_app1' => 'egw_links',
  'link_app2' => 'egw_links',
  ) as $col => $table)
  {
- $db->query("UPDATE $table SET $col='api-accounts' WHERE $col='home-accounts'", __LINE__, __FILE__);
+ $GLOBALS['egw_setup']->db->query("UPDATE $table SET $col='api-accounts' WHERE $col='home-accounts'", __LINE__, __FILE__);
  }
  return $GLOBALS['setup_info']['api']['currentver'] = '16.1.002';
 }


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
eGroupWare-cvs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs