diff options
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; }; |