55 Main\Loader::includeModule(
'rest')
56 && is_callable([
'\Bitrix\Rest\UsageStatTable',
'logUserInterface'])
59 $dbRes = Avatar\Model\ItemToFileTable::getList([
60 'select' => [
'APP_ID' =>
'ITEM.OWNER_ID',
'CNT'],
62 '=ITEM.OWNER_TYPE' => Mask\Owner\RestApp::class,
65 'group' => [
'ITEM.OWNER_ID'],
67 while ($res = $dbRes->fetch())
69 Rest\UsageStatTable::logUserInterface(
71 static::REST_STATISTIC_MASK_ENTITY_NAME,
75 Rest\UsageStatTable::finalize();
78 return __CLASS__ .
'::' . __FUNCTION__ .
'();';