aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-03-24 19:57:19 +0100
committerLukas Reschke <lukas@statuscode.ch>2017-03-24 19:57:19 +0100
commit0ed56589cccbb9421da24a60b7ab575df7a5a40e (patch)
tree26ec4acc21639e7b18f63eab0e81b100ef113dad /apps/files_versions/lib
parent2cd79a8d3d6c160b9458327b1429eed9ec1a25a2 (diff)
downloadnextcloud-server-0ed56589cccbb9421da24a60b7ab575df7a5a40e.tar.gz
nextcloud-server-0ed56589cccbb9421da24a60b7ab575df7a5a40e.zip
Merge JS for files_versions
Shaves off 3 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/files_versions/lib')
-rw-r--r--apps/files_versions/lib/Hooks.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files_versions/lib/Hooks.php b/apps/files_versions/lib/Hooks.php
index 5181bb1b1ab..3753d8b5016 100644
--- a/apps/files_versions/lib/Hooks.php
+++ b/apps/files_versions/lib/Hooks.php
@@ -163,9 +163,6 @@ class Hooks {
* Load additional scripts when the files app is visible
*/
public static function onLoadFilesAppScripts() {
- \OCP\Util::addScript('files_versions', 'versionmodel');
- \OCP\Util::addScript('files_versions', 'versioncollection');
- \OCP\Util::addScript('files_versions', 'versionstabview');
- \OCP\Util::addScript('files_versions', 'filesplugin');
+ \OCP\Util::addScript('files_versions', 'merged');
}
}