Project

General

Profile

Feature #5054 ยป Redmine.pm.diff

Pieter Smith, 2010-03-11 18:38

View differences:

Redmine.pm (working copy)
132 132
    args_how => TAKE1,
133 133
  },
134 134
  {
135
    name => 'RedmineDbQuery',
136
    req_override => OR_AUTHCFG,
137
    args_how => TAKE1,
138
  },
139
  {
135 140
    name => 'RedmineDbWhereClause',
136 141
    req_override => OR_AUTHCFG,
137 142
    args_how => TAKE1,
......
163 168

  
164 169
sub RedmineDbUser { set_val('RedmineDbUser', @_); }
165 170
sub RedmineDbPass { set_val('RedmineDbPass', @_); }
171
sub RedmineDbQuery { 
172
  my ($self, $parms, $arg) = @_;
173
  if ($arg) {
174
    $self->{RedmineQuery} = trim($arg);
175
  }
176
}
166 177
sub RedmineDbWhereClause { 
167 178
  my ($self, $parms, $arg) = @_;
168 179
  $self->{RedmineQuery} = trim($self->{RedmineQuery}.($arg ? $arg : "")." ");
    (1-1/1)