summaryrefslogtreecommitdiffstats
path: root/debian/patches/0010-disable-updatecheck.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0010-disable-updatecheck.patch')
-rw-r--r--debian/patches/0010-disable-updatecheck.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0010-disable-updatecheck.patch b/debian/patches/0010-disable-updatecheck.patch
new file mode 100644
index 0000000..5685df4
--- /dev/null
+++ b/debian/patches/0010-disable-updatecheck.patch
@@ -0,0 +1,15 @@
+Author: Tanguy Ortolo <tanguy+debian@ortolo.eu>
+Description: Disabled the built-in update notifier, not relevant for a distro-managed software. (LP: #325013)
+
+diff -Naurp dokuwiki.orig/conf/dokuwiki.php dokuwiki/conf/dokuwiki.php
+--- dokuwiki.orig/conf/dokuwiki.php
++++ dokuwiki/conf/dokuwiki.php
+@@ -141,7 +141,7 @@ $conf['rss_show_summary'] = 1;
+ $conf['rss_show_deleted'] = 1; //Show deleted items 0|1
+
+ /* Advanced Settings */
+-$conf['updatecheck'] = 1; //automatically check for new releases?
++$conf['updatecheck'] = 0; //automatically check for new releases?
+ $conf['userewrite'] = 0; //this makes nice URLs: 0: off 1: .htaccess 2: internal
+ $conf['useslash'] = 0; //use slash instead of colon? only when rewrite is on
+ $conf['sepchar'] = '_'; //word separator character in page names; may be a