Skip to content

Commit

Permalink
Version 2.22 released
Browse files Browse the repository at this point in the history
Fixed a number of issues in the scripts (due to higher php versions and also 2 typos)
  • Loading branch information
CasN committed Jun 21, 2024
1 parent 978e633 commit fa965c0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 24 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ xxx 2013-03-07 samwilson Moved to Github for easier collaboration.
2.01 2017-01-21 cas Compatible version for Mantis 2.0
2.02 Bugfixes
2.03 Bugfixes
2.22 2024-6-21 cas Bugfixes (mainly in relation to newer php version)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Reminder Plugin

Copyright (c) 2009 Cas Nuy - cas@nuy.info - http://www.nuy.info
Copyright (c) 2009 - 2024 Cas Nuy - cas@nuy.info - http://www.nuy.info

Released under the [GPL 2.0](http://opensource.org/licenses/GPL-2.0)

Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ After copying to your webserver :
- Start mantis ad administrator
- Select manage
- Select manage Plugins
- Select Install behind Reminder 1.10
- Select Install behind Reminder 2.22
- Once installed, click on the plugin-name for further configuration.

For version 1.2.1 make sure to have this statement in confg_inc.php:
Expand Down
2 changes: 1 addition & 1 deletion Reminder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class ReminderPlugin extends MantisPlugin {
function register() {
$this->name = 'Reminder';
$this->description = lang_get( 'reminder_plugin_desc' );
$this->version = '2.21';
$this->version = '2.22';
$this->requires = array('MantisCore' => '2.0.0',);
$this->author = 'Cas Nuy';
$this->contact = 'Cas-at-nuy.info';
Expand Down
2 changes: 1 addition & 1 deletion scripts/bug_due_overview2.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
} else{
$multiply=1;
}
$baseline=time(true)+ ($t_rem_days*$multiply*60*60);
$baseline=time()+ ($t_rem_days*$multiply*60*60);
$query="select bugs.id,summary,due_date,username,realname from {bug} bugs,{user} users where bugs.handler_id=users.id and status in (".implode(",", $t_rem_status).") and due_date>1 and due_date<=$baseline" ;

$t_rem_include = config_get('plugin_Reminder_reminder_include');
Expand Down
4 changes: 2 additions & 2 deletions scripts/bug_reminder_mail_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
// this needs to be made flexible
// we will only produce overview for those projects that have a separate manager
//
$baseline = time(true)+ ($t_rem_days*$multiply*60*60);
$basenow = time(true);
$baseline = time()+ ($t_rem_days*$multiply*60*60);
$basenow = time();

echo "Path setting retrieved : ".config_get('path');
echo "<br>";
Expand Down
17 changes: 0 additions & 17 deletions scripts/test.php

This file was deleted.

2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 2.21 #
Version: 2.22 #
Devurl: https://github.com/mantisbt-plugins/Reminder/blob/master/version.txt #
Location: https://github.com/mantisbt-plugins/Reminder/archive/refs/heads/main.zip #

0 comments on commit fa965c0

Please sign in to comment.