]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Posting/Admin.pm
now, if main file is master locked, fo_view.pl won't show any single message
[selfforum.git] / selfforum-cgi / shared / Posting / Admin.pm
index be392e4192ae457653d4568fa8d000757b60588e..a075f569c6c4a30df27efd50c10ecee8635be207 100644 (file)
@@ -5,8 +5,8 @@ package Posting::Admin;
 # File:        shared/Posting/Admin.pm                                         #
 #              (was: ~Handle.pm)                                               #
 #                                                                              #
 # File:        shared/Posting/Admin.pm                                         #
 #              (was: ~Handle.pm)                                               #
 #                                                                              #
-# Authors:     Frank Schoenmann <fs@tower.de>, 2001-03-13                      #
-#              Andre Malo       <nd@o3media.de>, 2001-03-29                    #
+# Authors:     Frank Schönmann <fs@tower.de>                                   #
+#              André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: Allow administration of postings                                #
 #                                                                              #
 #                                                                              #
 # Description: Allow administration of postings                                #
 #                                                                              #
@@ -20,7 +20,6 @@ package Posting::Admin;
 use strict;
 use vars qw(
   @EXPORT
 use strict;
 use vars qw(
   @EXPORT
-  $VERSION
 );
 
 use Lock qw(:READ);
 );
 
 use Lock qw(:READ);
@@ -37,7 +36,11 @@ use XML::DOM;
 #
 # Version check
 #
 #
 # Version check
 #
-$VERSION = do { my @r =(q$Revision$ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+# last modified:
+#    $Date$ (GMT)
+# by $Author$
+#
+sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'}
 
 ################################################################################
 #
 
 ################################################################################
 #
@@ -355,4 +358,4 @@ sub change_posting_body ($$$$) {
 
 #
 #
 
 #
 #
-### end of Posting::Admin ######################################################
+### end of Posting::Admin ######################################################
\ No newline at end of file

patrick-canterino.de