mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
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:
parent
ed218516d9
commit
581b7cbd9c
13
doc/rpm-build/phpfreechat_mysql_container.patch
Normal file
13
doc/rpm-build/phpfreechat_mysql_container.patch
Normal 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));
|
Loading…
Reference in New Issue
Block a user