diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-06-01 03:20:33 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-06-01 03:20:33 -0700 |
commit | 28c9853a2cb8b789eaecf76ed18b4230eee45ca4 (patch) | |
tree | 99d410a873a681dcce61ce597f6ceddc6539d9ba /libpiny/lib/Piny/Repo.pm | |
parent | 18c3275a222e57e6b98932e8e394646382b25388 (diff) | |
download | piny-code-28c9853a2cb8b789eaecf76ed18b4230eee45ca4.tar.gz piny-code-28c9853a2cb8b789eaecf76ed18b4230eee45ca4.zip |
newrepo: migrating rebuild logic out of Repo.pm and making --enable/disable-ikiwiki work
Diffstat (limited to 'libpiny/lib/Piny/Repo.pm')
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index b5e6800..675c16c 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -455,7 +455,7 @@ sub all_repos { return @ret; }; -# Only sets up needed data; ->rebuild takes care of the rest. +# Only sets up needed data; ->rebuild can take care of the rest. sub create { my ( $class, $name, $description, $remote ) = @_; @@ -498,14 +498,8 @@ sub create { $repo->description( $description ); - $repo->rebuild_git; - $repo = $class->new( $name ); - if ( $repo->config->piny_ikiwiki =~ /^(1|true)$/ ) { - $repo->rebuild_ikiwiki; - }; - return $repo; }; |