Go to the source code of this file.
Variables | |
$usage = new ApiUsage() | |
global | $action |
$dbaccess = $action->dbaccess | |
if($dbaccess=="") | $multipleList = array() |
$sql = "SELECT m AS id, z.initid AS initid FROM (SELECT min(id) AS m, initid, count(initid) AS c FROM docread WHERE locked != -1 AND doctype != 'T' GROUP BY docread.initid) AS z where z.c > 1" | |
$err = simpleQuery($dbaccess, $sql, $multipleList) | |
global $action |
Definition at line 13 of file fixMultipleAliveRevision.php.
$dbaccess = $action->dbaccess |
Definition at line 14 of file fixMultipleAliveRevision.php.
$err = simpleQuery($dbaccess, $sql, $multipleList) |
Definition at line 22 of file fixMultipleAliveRevision.php.
if ($dbaccess=="") $multipleList = array() |
Definition at line 20 of file fixMultipleAliveRevision.php.
$sql = "SELECT m AS id, z.initid AS initid FROM (SELECT min(id) AS m, initid, count(initid) AS c FROM docread WHERE locked != -1 AND doctype != 'T' GROUP BY docread.initid) AS z where z.c > 1" |
Definition at line 21 of file fixMultipleAliveRevision.php.
Definition at line 9 of file fixMultipleAliveRevision.php.