]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- fix duplicate chunks
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Jan 2009 10:33:40 +0000 (10:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-notifyns.patch -> 1.2

dokuwiki-notifyns.patch

index c2c8bcfa3c962f01759b5888464c949678b18d37..6b91f52bd50f302d8e85a4bb0ed409243fbf490d 100644 (file)
  /**
   * 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
This page took 0.124299 seconds and 4 git commands to generate.