/** * Gets list of avatar file names in a certain directory * if directory is not specified, default directory will be searched * * @deprecated Use icms_data_avatar_Handler::getListFromDir instead * @todo Remove in version 1.4 - no occurrences in the core * * @param string $avatar_dir name of the directory to scan for files * @return array $avatars list of avatars in the directory */ public static function getAvatarsList($avatar_dir = "") { icms_core_Debug::setDeprecated('icms_data_avatar_Handler::getListFromDir', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); return icms_data_avatar_Handler::getListFromDir($avatar_dir); }