email notification only working uf user watches set on
- Status
- Pending
- Subject
- email notification only working uf user watches set on
- Version
- 1.9.x
- Category
- Error
- Feature
- Watch (email notifications of changes)
- Resolution status
- Please retest
- Submitted by
- dan
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
/lib/tikilib.php only processing mail notification on update_page if user watches switched on; notifications not being sent if set on the perms for the page. see line 5472
global $feature_user_watches;
if ($feature_user_watches == 'y') {
// Deal with mail notifications.
include_once('lib/notifications/notificationemaillib.php');
global $histlib; include_once ("lib/wiki/histlib.php");
$old = $histlib->get_version($pageName, $old_version);
$foo = parse_url($_SERVER%22REQUEST_URI%22);
$machine = $this->httpPrefix(). dirname( $foo%22path%22 );
require_once('lib/diff/difflib.php');
$diff = diff2($old%22data%22 , $edit_data, "unidiff");
sendWikiEmailNotification('wiki_page_changed', $pageName, $edit_user, $edit_comment, $old_version, $edit_data, $machine, $diff, $minor);
}- Solution
- suggest removing the user_watches if condition
- Importance
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 277
- Created
- Wednesday 29 June, 2005 16:47:05 UTC
by Unknown - LastModif
- Thursday 30 September, 2021 07:41:31 UTC