summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-19 09:46:44 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-11-19 09:46:44 (GMT)
commit9f14a7bd91550f04d62c103398909ee3e524a08b (patch)
tree962dad1c46ed4dbbdd8c984db4cd6ad0e1c6117f
parent1e57130d51b2503288fd7ebf07b54750d67be6f0 (diff)
downloadkolab-chwala-chwala-0.2.tar.gz
Rename table 'locks' to 'chwala_locks'chwala-0.2
-rw-r--r--doc/SQL/mysql.initial.sql2
-rw-r--r--lib/file_locks.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/SQL/mysql.initial.sql b/doc/SQL/mysql.initial.sql
index d8fc11e..36e17c0 100644
--- a/doc/SQL/mysql.initial.sql
+++ b/doc/SQL/mysql.initial.sql
@@ -1,4 +1,4 @@
-CREATE TABLE IF NOT EXISTS `locks` (
+CREATE TABLE IF NOT EXISTS `chwala_locks` (
`uri` varchar(512) BINARY NOT NULL,
`owner` varchar(256),
`timeout` integer unsigned,
diff --git a/lib/file_locks.php b/lib/file_locks.php
index 0b21bf3..300d3b1 100644
--- a/lib/file_locks.php
+++ b/lib/file_locks.php
@@ -60,7 +60,7 @@ class file_locks {
*
* @param string $table Table name
*/
- public function __construct($table = 'locks')
+ public function __construct($table = 'chwala_locks')
{
$rcube = rcube::get_instance();