Skip to content

Commit

Permalink
Fixed log file for filemanager statistics AJAX indexer (new feature) …
Browse files Browse the repository at this point in the history
…not being created
  • Loading branch information
ggppdk committed Sep 13, 2017
1 parent e49d29a commit 89db4ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/controllers/filemanager.raw.php
Expand Up @@ -273,13 +273,13 @@ function index()

$stats_indexer_error_count = $session->get('filemanager.stats_indexer_error_count', 0, 'flexicontent');
$session->set('filemanager.stats_indexer_error_count', $stats_indexer_error_count + count($errors), 'flexicontent');
/*$stats_indexer_errors = $session->get('filemanager.stats_indexer_errors', array(), 'flexicontent');
//stats_indexer_errors = $session->get('filemanager.stats_indexer_errors', array(), 'flexicontent');
foreach($errors as $error_message)
{
$stats_indexer_errors[] = $error_message;
//$stats_indexer_errors[] = $error_message;
JLog::add($error_message, JLog::WARNING, 'com_flexicontent.filemanager.stats_indexer');
}
$session->set('filemanager.stats_indexer_errors', $stats_indexer_errors, 'flexicontent');*/
//$session->set('filemanager.stats_indexer_errors', $stats_indexer_errors, 'flexicontent');
}


Expand Down

0 comments on commit 89db4ba

Please sign in to comment.