Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
fixMultipleAliveRevision.php File Reference

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)
 

Variable Documentation

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.

$usage = new ApiUsage()

Definition at line 9 of file fixMultipleAliveRevision.php.

← centre documentaire © anakeen