Commit 7724a5e3095fa1aebe7d8018b38cda1420d8519b

Authored by conradverm
1 parent fd396016

KTS-2641

"indexing task should log start and stop as debug"
Updated. Static function should not have $this

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7684 c91229c3-7414-0410-bfa2-8a42b809f60b
search2/indexing/indexerCore.inc.php
@@ -451,7 +451,7 @@ abstract class Indexer @@ -451,7 +451,7 @@ abstract class Indexer
451 $sql = "INSERT INTO index_files(document_id, user_id, what) VALUES($document_id, $userid, '$what')"; 451 $sql = "INSERT INTO index_files(document_id, user_id, what) VALUES($document_id, $userid, '$what')";
452 DBUtil::runQuery($sql); 452 DBUtil::runQuery($sql);
453 453
454 - if ($this->debug) $default->log->debug("index: Queuing indexing of $document_id"); 454 + $default->log->debug("index: Queuing indexing of $document_id");
455 } 455 }
456 456
457 457