summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Migration/DummyUserSession.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Migration/DummyUserSession.php')
-rw-r--r--apps/files_external/lib/Migration/DummyUserSession.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/files_external/lib/Migration/DummyUserSession.php b/apps/files_external/lib/Migration/DummyUserSession.php
index 004ca019eb0..0cc726d35b9 100644
--- a/apps/files_external/lib/Migration/DummyUserSession.php
+++ b/apps/files_external/lib/Migration/DummyUserSession.php
@@ -50,4 +50,24 @@ class DummyUserSession implements IUserSession {
public function isLoggedIn() {
return !is_null($this->user);
}
+
+ /**
+ * get getImpersonatingUserID
+ *
+ * @return string|null
+ * @since 17.0.0
+ */
+ public function getImpersonatingUserID() : ?string {
+ return null;
+ }
+
+ /**
+ * set setImpersonatingUserID
+ *
+ * @since 17.0.0
+ */
+ public function setImpersonatingUserID(bool $useCurrentUser = true): void {
+ //no OP
+ }
+
}