Skip to content

Commit e5095eb

Browse files
Merge pull request #13069 from nextcloud/backport/13068/stable31
2 parents 01abdb2 + 5399176 commit e5095eb

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_31.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Changed APIs
175175
- It has a new method ``getMimeType()`` to get the new property.
176176
- ``OCP\Files\Storage::needsPartFile`` method was moved to interface ``OCP\Files\Storage\IStorage``.
177177
- The constructor was removed from interface ``OCP\Files\Storage\IStorage`` so that wrappers can use DI in their constructor. If your storage implementation is supposed to be built by calling the constructor, please implement the new interface ``OCP\Files\Storage\IConstructableStorage``.
178+
- ``OCP\IUser::getFirstLogin`` method was added to get first known login of a user. It will return a unix timestamp, or 0 if the user never logged in, or -1 if this data is not known (meaning the first login of this user was from before upgrading to 31).
178179

179180
Deprecated APIs
180181
^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)