Commit 38f34f0e486f317615fb042d80e6bb36ee4741bf

Authored by Paul Barrett
1 parent f8fc1464

Comment and spacing fixes

Committed by: Paul Barrett
lib/api/ktcmis/services/CMISVersioningService.inc.php
... ... @@ -106,7 +106,7 @@ class CMISVersioningService {
106 106 }
107 107  
108 108 // NOTE KTAPI as currently implemented does not give a direct response which indicates if the document is already checked out,
109   - // as long as the same use is calling the checkout again, so should we add a check here specifically?
  109 + // as long as the same user is calling the checkout again, so should we add a check here specifically?
110 110  
111 111 // run checkout process - set $download = false (third function argument) as we want to return the document content via the contentStream
112 112 $response = $this->ktapi->checkout_document($documentId, 'CMIS Checkout Action', false, $sig_username, $sig_password);
... ...
plugins/search2/reporting/ExtractorInfo.php
... ... @@ -106,9 +106,9 @@ class ExtractorInfoDispatcher extends KTAdminDispatcher {
106 106  
107 107 function getSupportedMimeTypesDB($sExtractorName)
108 108 {
109   - $sQuery = "SELECT MT.mimetypes FROM mime_extractors as ME LEFT JOIN mime_types as MT ON " .
  109 + $sQuery = "SELECT MT.mimetypes FROM mime_extractors as ME LEFT JOIN mime_types as MT ON " .
110 110 "(ME.id = MT.extractor_id) WHERE ME.name = ?";
111   - $aQuery = array($sQuery, array($sExtractorName));
  111 + $aQuery = array($sQuery, array($sExtractorName));
112 112 $aTempRes = DBUtil::getResultArray($aQuery);
113 113 $aRes = array();
114 114 for($i = 0; $i < count($aTempRes); $i++ )
... ...