[Bps-public-commit] r15268 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 20 04:02:35 EDT 2008


Author: sartak
Date: Wed Aug 20 04:02:35 2008
New Revision: 15268

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Config.pm

Log:
 r69828 at onn:  sartak | 2008-08-20 04:02:10 -0400
 Remove prophet_config_file, it's not used. If we want the functionality we can add it back


Modified: Prophet/trunk/lib/Prophet/Config.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Config.pm	(original)
+++ Prophet/trunk/lib/Prophet/Config.pm	Wed Aug 20 04:02:35 2008
@@ -33,7 +33,6 @@
     return $_[0]->config->{_aliases};
 }
 
-#sub prophet_config_file { dir($ENV{HOME}, ".prophetrc") }
 sub app_config_file { 
     my $self = shift;
     $ENV{'PROPHET_APP_CONFIG'} || file( $self->app_handle->handle->fs_root => "prophetrc" ) 
@@ -47,7 +46,6 @@
     my $self = shift;
     my @config = @_;
     @config = grep { -f $_ } $self->app_config_file if !@config;
-    #@config = grep { -f $_ } $self->prophet_config_file, $self->app_config_file if !@config;
 
     my $config = {};
 
@@ -107,10 +105,6 @@
 
 =cut
 
-=head2 prophet_config_file
-
-The file which controls configuration for all Prophet apps. C<$HOME/.prophetrc>.
-
 =head2 app_config_file
 
 The file which controls configuration for this application.
@@ -119,7 +113,7 @@
 =head2 load_from_files [files]
 
 Loads the given config files. If no files are passed in, it will use the
-default of L</prophet_config_file> and L</app_config_file>.
+default of L</app_config_file>.
 
 =head2 load_from_file file
 



More information about the Bps-public-commit mailing list