Skip to content

Commit f6417e0

Browse files
committed
feat(nc-33): Add deprecation of OC_Util::runningOnMac
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
1 parent 0daf4e3 commit f6417e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Deprecated APIs
114114
``\OCP\DB\IResult::fetchAllNumeric`` and ``\OCP\DB\IResult::fetchFirstColumn`` as replacement for
115115
``\OCP\DB\IResult::fetchAll``. If you use rector, you can use the Nextcloud33 set, to automatically port
116116
most of your code to the new methods.
117+
- The ``\OC_Util::runningOnMac()`` is deprecated. Instead you can just check ``PHP_OS_FAMILY === 'Darwin'``.
117118

118119
Removed APIs
119120
^^^^^^^^^^^^

0 commit comments

Comments
 (0)