stop phpfreechat from attempting to create its tables, as it fails in some enviroments and its done by EGroupware anyway

This commit is contained in:
Ralf Becker 2012-05-30 08:40:42 +00:00
parent ed218516d9
commit 581b7cbd9c

View File

@ -0,0 +1,13 @@
Index: phpfreechat/phpfreechat/src/containers/mysql.class.php
===================================================================
--- phpfreechat/phpfreechat/src/containers/mysql.class.php (Revision 1276)
+++ phpfreechat/phpfreechat/src/containers/mysql.class.php (Arbeitskopie)
@@ -131,7 +131,7 @@
$query = str_replace('%fieldtype_leaf%', $c->container_cfg_mysql_fieldtype_leaf,$query);
$query = str_replace('%fieldtype_leafvalue%', $c->container_cfg_mysql_fieldtype_leafvalue,$query);
$query = str_replace('%fieldtype_timestamp%', $c->container_cfg_mysql_fieldtype_timestamp,$query);
- $result = mysql_query($query, $db);
+ $result = true; // mysql_query($query, $db); // as table should be created via setup
if ($result === FALSE)
{
$errors[] = _pfc("Mysql container: create table error '%s'",mysql_error($db));