aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-10 17:34:48 +0100
committerLouis Chemineau <louis@chmn.me>2022-01-10 17:34:48 +0100
commite50121d4c05afb8eca22bc105b160283ff4181c0 (patch)
tree508680e5db2f4dcd1f4aad4a3188ceda214aa485 /lib
parentdb0414ad4cf3b7aeccc83a69c079bb6951ab3b83 (diff)
downloadnextcloud-server-e50121d4c05afb8eca22bc105b160283ff4181c0.tar.gz
nextcloud-server-e50121d4c05afb8eca22bc105b160283ff4181c0.zip
Streamline reseting of private static properties
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Util.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 61b8d9369cc..f8d8b1aaf71 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -597,14 +597,4 @@ class Util {
}
return $temp;
}
-
- /**
- * Reset scripts and scriptDeps to empty arrays.
- * Only used in tests.
- * @since 24.0.0
- */
- public static function clearScriptsState() {
- self::$scripts = [];
- self::$scriptDeps = [];
- }
}