diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-10 17:34:48 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-10 17:34:48 +0100 |
commit | e50121d4c05afb8eca22bc105b160283ff4181c0 (patch) | |
tree | 508680e5db2f4dcd1f4aad4a3188ceda214aa485 /lib | |
parent | db0414ad4cf3b7aeccc83a69c079bb6951ab3b83 (diff) | |
download | nextcloud-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.php | 10 |
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 = []; - } } |