fix errors in coding style

This commit is contained in:
Uwe Steinmann 2021-09-20 16:31:42 +02:00
parent 851e81a9b9
commit a5e12cb444

View File

@ -5,9 +5,8 @@
* @category DMS * @category DMS
* @package SeedDMS_Core * @package SeedDMS_Core
* @license GPL 2 * @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx> * @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann * @copyright 2010 Uwe Steinmann
* @version Release: @package_version@ * @version Release: @package_version@
*/ */
@ -3108,7 +3107,7 @@ class SeedDMS_Core_DMS {
function getDuplicateDocumentContent() { /* {{{ */ function getDuplicateDocumentContent() { /* {{{ */
$queryStr = "SELECT a.*, b.`id` as dupid FROM `tblDocumentContent` a LEFT JOIN `tblDocumentContent` b ON a.`checksum`=b.`checksum` where a.`id`!=b.`id` ORDER by a.`id` LIMIT 1000"; $queryStr = "SELECT a.*, b.`id` as dupid FROM `tblDocumentContent` a LEFT JOIN `tblDocumentContent` b ON a.`checksum`=b.`checksum` where a.`id`!=b.`id` ORDER by a.`id` LIMIT 1000";
$resArr = $this->db->getResultArray($queryStr); $resArr = $this->db->getResultArray($queryStr);
if (!$resArr) if ($resArr === false)
return false; return false;
/** @var SeedDMS_Core_Document[] $versions */ /** @var SeedDMS_Core_Document[] $versions */