---
title: "Deprecation: #73516 - Various GeneralUtility methods"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-73516"
source: "Changelog/8.0/Deprecation-73516-VariousGeneralUtilityMethods.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Deprecation: #73516 - Various GeneralUtility methods

See [forge#73516](https://forge.typo3.org/issues/73516)

## Description

The following methods within GeneralUtility have been marked as deprecated:

```php
GeneralUtility::flushOutputBuffers()
GeneralUtility::xmlGetHeaderAttribs()
GeneralUtility::imageMagickCommand()
```

The second and third parameter of `GeneralUtility::getFileAbsFileName()` have been removed as well.

## Impact

Calling any of the methods above will trigger a deprecation log entry. Calling `GeneralUtility::getFileAbsFileName()`
with the second and third parameter set will also trigger a deprecation log entry.

## Affected Installations

Any installation using any third-party extension calling any of these methods.

## Migration

For `GeneralUtility::flushOutputBuffers()` use `ob_clean()`.

For `GeneralUtility::imageMagickCommand()` use `CommandUtility::imageMagickCommand`.
