File: 0002-No-next-upstream-version-display-in-private-area.patch

package info (click to toggle)
spip 4.4.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 39,648 kB
  • sloc: php: 299,454; javascript: 67,880; xml: 4,388; sh: 165; makefile: 92
file content (25 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffif@debian.org>
Date: Sun, 3 Nov 2013 11:39:48 -0400
Subject: No next upstream version display in private area

No need to link to the next upstream version.

Forwarded: not-needed
Last-Update: 2013-11-12
---
 ecrire/inc/presentation_mini.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ecrire/inc/presentation_mini.php b/ecrire/inc/presentation_mini.php
index 02d3485..6f5ca21 100644
--- a/ecrire/inc/presentation_mini.php
+++ b/ecrire/inc/presentation_mini.php
@@ -198,6 +198,8 @@ function html_tests_js() {
  **/
 function info_maj_spip() {
 
+	return '';
+
 	$maj = $GLOBALS['meta']['info_maj_spip'] ?? null;
 	if (!$maj) {
 		return '';