aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-01-11 11:22:48 +0100
committerGitHub <noreply@github.com>2022-01-11 11:22:48 +0100
commit6c3e9822e6cc485a37ebdc992414c39ee91f4e46 (patch)
treed16c980340c517d58a8294cb3fe69d475d0b6c58 /lib
parent7484abb6c07f2296abc2040ecd747ddf1d65e98e (diff)
parent25ade6218afeaefad2fac3890a8d38692e9987c7 (diff)
downloadnextcloud-server-6c3e9822e6cc485a37ebdc992414c39ee91f4e46.tar.gz
nextcloud-server-6c3e9822e6cc485a37ebdc992414c39ee91f4e46.zip
Merge pull request #30582 from nextcloud/fix/streamline_clearing_static_state
Streamline reseting of private static properties
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 = [];
- }
}