[Pkg-owncloud-commits] [owncloud] 135/258: using flush() here is pointless as we render the layout into a memory buffer and actually transmit the data later

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 435b9c3028aed090588957b87e916d7b107e3110
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Fri Aug 8 15:44:11 2014 +0200

    using flush() here is pointless as we render the layout into a memory buffer and actually transmit the data later
---
 core/templates/layout.base.php  | 1 -
 core/templates/layout.guest.php | 1 -
 core/templates/layout.user.php  | 1 -
 3 files changed, 3 deletions(-)

diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 7c5a548..8d33ac9 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -31,7 +31,6 @@
 			?>
 		<?php endforeach; ?>
 	</head>
-	<?php flush(); ?>
 	<body id="body-public">
 		<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
 		<?php print_unescaped($_['content']); ?>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 20f65a9..89fb3b7 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -33,7 +33,6 @@
 			?>
 		<?php endforeach; ?>
 	</head>
-	<?php flush(); ?>
 	<body id="body-login">
 		<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
 		<div class="wrapper"><!-- for sticky footer -->
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index f0121c3..3fa922f 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -35,7 +35,6 @@
 			?>
 		<?php endforeach; ?>
 	</head>
-	<?php flush(); ?>
 	<body id="<?php p($_['bodyid']);?>">
 	<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
 	<div id="notification-container">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list