[Rt-commit] r16806 - in rt/3.8/trunk: sbin

jesse at bestpractical.com jesse at bestpractical.com
Mon Nov 10 08:55:39 EST 2008


Author: jesse
Date: Mon Nov 10 08:55:39 2008
New Revision: 16806

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/sbin/factory

Log:
 r49408 at 31b:  jesse | 2008-11-07 17:47:39 +0800
 * Factory updates from Hans Dieter Pearcey <hdp.rt.devel at weftsoar.net>   


Modified: rt/3.8/trunk/sbin/factory
==============================================================================
--- rt/3.8/trunk/sbin/factory	(original)
+++ rt/3.8/trunk/sbin/factory	Mon Nov 10 08:55:39 2008
@@ -65,8 +65,8 @@
 # BEGIN BPS TAGGED BLOCK {{{
 # 
 # COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC 
+# 
+# This software is Copyright (c) 1996-2008 Best Practical Solutions, LLC
 #                                          <jesse at bestpractical.com>
 # 
 # (Except where explicitly superseded by other copyright notices)
@@ -88,7 +88,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 # 02110-1301 or visit their web page on the internet at
-# http://www.gnu.org/copyleft/gpl.html.
+# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
 # 
 # 
 # CONTRIBUTION SUBMISSION POLICY:
@@ -112,6 +112,7 @@
 .
 
 my $Attribution = << '.';
+
 # Autogenerated by DBIx::SearchBuilder factory (by <jesse at bestpractical.com>)
 # WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
 # 
@@ -126,7 +127,7 @@
 my $dbh = DBI->connect( $dsn, $user, $password );
 
 #get all tables out of database
-my @tables = $dbh->tables();
+my @tables = map { s/^\`\Q$database\E\`\.//; $_ } $dbh->tables();
 
 my ( %tablemap, $typemap, %modulemap );
 


More information about the Rt-commit mailing list