projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.14 (#13852)
[freeside.git]
/
rt
/
lib
/
RT
/
Plugin.pm
diff --git
a/rt/lib/RT/Plugin.pm
b/rt/lib/RT/Plugin.pm
index
d10f639
..
76af079
100644
(file)
--- a/
rt/lib/RT/Plugin.pm
+++ b/
rt/lib/RT/Plugin.pm
@@
-2,7
+2,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
6
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
7
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-84,6
+84,17
@@
sub Name {
return $self->{name};
}
return $self->{name};
}
+=head2 Version
+
+Returns the extension version.
+
+=cut
+
+sub Version {
+ my $self = shift;
+ return $self->Name->VERSION;
+}
+
=head2 Path
Takes a name of sub directory and returns its full path, for example:
=head2 Path
Takes a name of sub directory and returns its full path, for example: