mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
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>
This commit is contained in:
parent
f38c8c3d7c
commit
d95ce6ac92
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"
|
||||
* theme exists and take that one
|
||||
|
|
|
|||
Loading…
Reference in a new issue