chore: drop no longer needed runningOnMac method

Removed deprecated method 'runningOnMac' that checks if PHP is running on macOS.

Signed-off-by: Josh <josh.t.richards@gmail.com>
pull/56816/head
Josh 2025-12-04 16:46:55 +07:00 committed by GitHub
parent f38c8c3d7c
commit d95ce6ac92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 13 deletions

@ -732,19 +732,6 @@ class OC_Util {
} }
} }
/**
* Checks whether PHP is running directly on macOS.
*
* Note: In a Linux container, this will be false even on a macOS host
* (PHP just sees "Linux").
*
* @return bool true if running on Mac OS X, false otherwise
* @deprecated 33.0.0 Query PHP_OS_FAMILY directly.
*/
public static function runningOnMac() {
return (PHP_OS_FAMILY === 'Darwin');
}
/** /**
* Handles the case that there may not be a theme, then check if a "default" * Handles the case that there may not be a theme, then check if a "default"
* theme exists and take that one * theme exists and take that one