Skip to content

Commit d95ce6a

Browse files
chore: drop no longer needed runningOnMac method
Removed deprecated method 'runningOnMac' that checks if PHP is running on macOS. Signed-off-by: Josh <[email protected]>
1 parent f38c8c3 commit d95ce6a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/private/legacy/OC_Util.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -732,19 +732,6 @@ public static function obEnd() {
732732
}
733733
}
734734

735-
/**
736-
* Checks whether PHP is running directly on macOS.
737-
*
738-
* Note: In a Linux container, this will be false even on a macOS host
739-
* (PHP just sees "Linux").
740-
*
741-
* @return bool true if running on Mac OS X, false otherwise
742-
* @deprecated 33.0.0 Query PHP_OS_FAMILY directly.
743-
*/
744-
public static function runningOnMac() {
745-
return (PHP_OS_FAMILY === 'Darwin');
746-
}
747-
748735
/**
749736
* Handles the case that there may not be a theme, then check if a "default"
750737
* theme exists and take that one

0 commit comments

Comments
 (0)