[Rt-commit] [svn] r1809 - in rt/branches/PLATANO-EXPERIMENTAL-CSS:
. lib
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Thu Nov 11 03:15:23 EST 2004
Author: jesse
Date: Thu Nov 11 03:15:22 2004
New Revision: 1809
Modified:
rt/branches/PLATANO-EXPERIMENTAL-CSS/ (props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in
Log:
r9071 at tinbook: jesse | 2004-11-11T02:54:53.317739Z
r6042 at tinbook: jesse | 2004-10-19T05:10:45.782060Z
RT-Ticket: 6199
RT-Status: resolved
RT-Update: correspond
Formatting fixes to RT.pm
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT.pm.in Thu Nov 11 03:15:22 2004
@@ -100,18 +100,15 @@
=head1 NAME
- RT - Request Tracker
+RT - Request Tracker
=head1 SYNOPSIS
- A fully featured request tracker package
+A fully featured request tracker package
=head1 DESCRIPTION
-
-=cut
-
-=item LoadConfig
+=head2 LoadConfig
Load RT's config file. First, go after the core config file.
After that, go after the site config.
@@ -129,10 +126,10 @@
RT::I18N->Init;
}
-=item Init
+=head2 Init
+
+Conenct to the database, set up logging.
- Conenct to the database, set up logging.
-
=cut
sub Init {
@@ -160,7 +157,7 @@
Get a database connection
=cut
-
+
sub ConnectToDatabase {
require RT::Handle;
unless ($Handle && $Handle->dbh && $Handle->dbh->ping) {
@@ -174,6 +171,7 @@
Create the RT::Logger object.
=cut
+
sub InitLogging {
# We have to set the record seperator ($, man perlvar)
@@ -292,6 +290,7 @@
Load all modules that define base classes
=cut
+
sub InitClasses {
require RT::Tickets;
require RT::Transactions;
@@ -321,9 +320,6 @@
return ($Nobody);
}
-
-=head1 SYNOPSIS
-
=head1 BUGS
Please report them to rt-bugs at fsck.com, if you know what's broken and have at least
@@ -336,17 +332,13 @@
L<RT::StyleGuide>
L<DBIx::SearchBuilder>
-
-
=begin testing
-
ok ($RT::Nobody->Name() eq 'Nobody', "Nobody is nobody");
ok ($RT::Nobody->Name() ne 'root', "Nobody isn't named root");
ok ($RT::SystemUser->Name() eq 'RT_System', "The system user is RT_System");
ok ($RT::SystemUser->Name() ne 'noname', "The system user isn't noname");
-
=end testing
=cut
More information about the Rt-commit
mailing list