mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-01 02:52:50 +02:00
remove debug trace
This commit is contained in:
@@ -475,11 +475,6 @@ SELECT image_id
|
||||
*/
|
||||
function get_computed_categories(&$userdata, $filter_days=null)
|
||||
{
|
||||
global $logger;
|
||||
|
||||
$start_time = get_moment();
|
||||
$logger->debug(__FUNCTION__.' starts now');
|
||||
|
||||
$query = 'SELECT c.id AS cat_id, id_uppercat';
|
||||
$query.= ', global_rank';
|
||||
// Count by date_available to avoid count null
|
||||
@@ -575,8 +570,6 @@ FROM '.CATEGORIES_TABLE.' as c
|
||||
}
|
||||
}
|
||||
|
||||
$logger->debug(__FUNCTION__.' ends now in '.get_elapsed_time($start_time, get_moment()));
|
||||
|
||||
return $cats;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user