SOURCES: dokuwiki-notifyns.patch - fix duplicate chunks

glen glen at pld-linux.org
Tue Jan 27 11:33:46 CET 2009


Author: glen                         Date: Tue Jan 27 10:33:46 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix duplicate chunks

---- Files affected:
SOURCES:
   dokuwiki-notifyns.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/dokuwiki-notifyns.patch
diff -u SOURCES/dokuwiki-notifyns.patch:1.1 SOURCES/dokuwiki-notifyns.patch:1.2
--- SOURCES/dokuwiki-notifyns.patch:1.1	Wed Nov 12 16:12:53 2008
+++ SOURCES/dokuwiki-notifyns.patch	Tue Jan 27 11:33:40 2009
@@ -35,24 +35,6 @@
  /**
   * Sends a notify mail on page change
   *
-@@ -924,7 +952,7 @@
-     if(empty($conf['notify'])) return; //notify enabled?
-     if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors
-     $text = rawLocale('mailtext');
--    $to   = $conf['notify'];
-+    $to   = notifyNS($id, $conf['notify']);
-     $bcc  = '';
-   }elseif($who == 'subscribers'){
-     if(!$conf['subscribers']) return; //subscribers enabled?
-@@ -936,7 +964,7 @@
-   }elseif($who == 'register'){
-     if(empty($conf['registernotify'])) return;
-     $text = rawLocale('registermail');
--    $to   = $conf['registernotify'];
-+    $to   = notifyNS($id, $conf['registernotify']);
-     $bcc  = '';
-   }else{
-     return; //just to be safe
 @@ -921,10 +949,10 @@
  
    // decide if there is something to do
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/dokuwiki-notifyns.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list