]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- respect also minor changes for notify
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 25 Feb 2008 18:46:40 +0000 (18:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-notify-respect-minor.patch -> 1.1
    dokuwiki.spec -> 1.27

dokuwiki-notify-respect-minor.patch [new file with mode: 0644]
dokuwiki.spec

diff --git a/dokuwiki-notify-respect-minor.patch b/dokuwiki-notify-respect-minor.patch
new file mode 100644 (file)
index 0000000..d2cbd35
--- /dev/null
@@ -0,0 +1,10 @@
+--- dokuwiki/inc/common.php~   2007-06-26 21:27:15.000000000 +0300
++++ dokuwiki/inc/common.php    2008-02-25 20:39:15.516789317 +0200
+@@ -831,6 +831,7 @@
+   // decide if there is something to do
+   if($who == 'admin'){
+     if(empty($conf['notify'])) return; //notify enabled?
++    if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors
+     $text = rawLocale('mailtext');
+     $to   = $conf['notify'];
+     $bcc  = '';
index 3b1c35f27e756eb21ec21ac746a579287a168968..06adecd2b7198ded9a77e67a169dc434b8e61d64 100644 (file)
@@ -2,7 +2,7 @@ Summary:        PHP-based Wiki webapplication
 Summary(pl.UTF-8):     Aplikacja WWW Wiki oparta na PHP
 Name:          dokuwiki
 Version:       20070626b
-Release:       0.33
+Release:       0.34
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-2007-06-26b.tgz
@@ -20,6 +20,7 @@ Patch4:               %{name}-geshi.patch
 Patch5:                %{name}-http_auth-option.patch
 Patch6:                %{name}-nice_exit.patch
 Patch7:                %{name}-mail-headerencodequotes.patch
+Patch8:                %{name}-notify-respect-minor.patch
 URL:           http://wiki.splitbrain.org/wiki:dokuwiki
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      geshi >= 1.0.7.19
@@ -83,6 +84,7 @@ pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 rm -f inc/lang/.htaccess
 # safe file
This page took 0.16933 seconds and 4 git commands to generate.