]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
mailthreads.patch is applied upstream
authorElan Ruusamäe <glen@delfi.ee>
Wed, 29 May 2013 15:31:20 +0000 (18:31 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 29 May 2013 15:31:20 +0000 (18:31 +0300)
dokuwiki-mailthreads.patch [deleted file]
dokuwiki.spec

diff --git a/dokuwiki-mailthreads.patch b/dokuwiki-mailthreads.patch
deleted file mode 100644 (file)
index c3142c5..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-diff --git a/inc/common.php b/inc/common.php
-index 02ed243..befc3e1 100644
---- a/inc/common.php
-+++ b/inc/common.php
-@@ -1181,6 +1181,22 @@ function notify($id, $who, $rev = '', $summary = '', $minor = false, $replace =
-             false
-         );
-     }
-+
-+    // add mail headers to identify page changes in same mail thread
-+    if ($who != 'register') {
-+        $file = wikiFN($id);
-+        $cur = @filemtime($file);
-+
-+        $server = parse_url(DOKU_URL, PHP_URL_HOST);
-+        $listid = join('.', array_reverse(explode('/', DOKU_BASE))).$server;
-+        $listid = strtolower(trim($listid, '.'));
-+
-+        $mail->setHeader('Message-Id', "<$id?rev=$cur@$listid>", false);
-+        if ($rev) {
-+            $mail->setHeader('In-Reply-To', "<$id?rev=$rev@$listid>", false);
-+        }
-+    }
-+
-     return $mail->send();
- }
---- dokuwiki/./inc/media.php~  2012-07-30 17:32:21.000000000 +0300
-+++ dokuwiki/./inc/media.php   2012-07-30 17:57:02.763464890 +0300
-@@ -561,6 +544,19 @@
-     $mail->to($to);
-     $mail->subject($lang['mail_upload'].' '.$id);
-     $mail->setBody($text,$trep);
-+
-+    $file = mediaFN($id);
-+    $cur = @filemtime($file);
-+
-+    $server = parse_url(DOKU_URL, PHP_URL_HOST);
-+    $listid = join('.', array_reverse(explode('/', DOKU_BASE))).$server;
-+    $listid = strtolower(trim($listid, '.'));
-+
-+    $mail->setHeader('Message-Id', "<$id?rev=$cur@$listid>", false);
-+    if ($old_rev) {
-+        $mail->setHeader('In-Reply-To', "<$id?rev=$old_rev@$listid>", false);
-+    }
-+
-     return $mail->send();
- }
index 00e8c87610450b6e86d8ba531939ca4e007604a0..18c0d4114cb8290262ab7a34e34bc3ae9781419a 100644 (file)
@@ -40,7 +40,6 @@ Patch6:               %{name}-nice_exit.patch
 Patch8:                %{name}-notify-respect-minor.patch
 Patch10:       %{name}-mailtext.patch
 Patch11:       %{name}-notifyns.patch
-Patch12:       %{name}-mailthreads.patch
 Patch14:       interwiki-outputonly.patch
 Patch15:       simplepie.patch
 Patch19:       pld-branding.patch
@@ -144,7 +143,6 @@ touch data/pages/playground/playground.txt
 %patch8 -p1
 %patch10 -p1
 %patch11 -p1
-#%%patch12 -p1 OUTDATED?
 %patch14 -p1
 %patch15 -p1
 %patch19 -p1
This page took 0.163344 seconds and 4 git commands to generate.