mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
modified lock and unlock to return always '1' and to execute no code
=> no locks with pgsql anymore!!!!
This commit is contained in:
parent
cab021e7b9
commit
fdbf8c18a9
@ -277,6 +277,9 @@
|
||||
|
||||
function lock($table, $mode = 'write')
|
||||
{
|
||||
// don't lock any tables in pgsql anymore
|
||||
return 1;
|
||||
|
||||
$result = $this->transaction_begin();
|
||||
|
||||
if ($mode == 'write')
|
||||
@ -303,6 +306,9 @@
|
||||
|
||||
function unlock()
|
||||
{
|
||||
// we don't lock tables anymore in pgsql
|
||||
return 1;
|
||||
|
||||
return $this->transaction_commit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user