summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/IServerContainer.php12
-rw-r--r--lib/public/iuser.php1
-rw-r--r--lib/public/iusermanager.php7
3 files changed, 20 insertions, 0 deletions
diff --git a/lib/public/IServerContainer.php b/lib/public/IServerContainer.php
index de48daeef88..65754f993f8 100644
--- a/lib/public/IServerContainer.php
+++ b/lib/public/IServerContainer.php
@@ -519,4 +519,16 @@ interface IServerContainer {
* @since 9.0.0
*/
public function getContentSecurityPolicyManager();
+
+ /**
+ * @return \OCP\IDateTimeZone
+ * @since 8.0.0
+ */
+ public function getDateTimeZone();
+
+ /**
+ * @return \OCP\IDateTimeFormatter
+ * @since 8.0.0
+ */
+ public function getDateTimeFormatter();
}
diff --git a/lib/public/iuser.php b/lib/public/iuser.php
index b0dd8dc35b2..16617a2f2f6 100644
--- a/lib/public/iuser.php
+++ b/lib/public/iuser.php
@@ -32,6 +32,7 @@ namespace OCP;
* @since 8.0.0
*/
interface IUser {
+
/**
* get the user id
*
diff --git a/lib/public/iusermanager.php b/lib/public/iusermanager.php
index 6442938a99b..00c0bbc8721 100644
--- a/lib/public/iusermanager.php
+++ b/lib/public/iusermanager.php
@@ -142,4 +142,11 @@ interface IUserManager {
* @since 9.0.0
*/
public function callForAllUsers (\Closure $callback, $search = '');
+
+ /**
+ * @param string $email
+ * @return IUser[]
+ * @since 9.1.0
+ */
+ public function getByEmail($email);
}