diff options
author | James Moger <james.moger@gitblit.com> | 2014-09-08 18:06:09 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-09-08 18:06:09 -0400 |
commit | c599bd17342d7019c68cd6dbea48c0b27efebd38 (patch) | |
tree | 121dd1685a0f8e7c9e0b58007d6b738dcdbb133d /src/main/java/com/gitblit/wicket | |
parent | 0601663aec4ffd24e24abc97cf360529de5c716c (diff) | |
download | gitblit-c599bd17342d7019c68cd6dbea48c0b27efebd38.tar.gz gitblit-c599bd17342d7019c68cd6dbea48c0b27efebd38.zip |
Fix repository deletion bug where the Lucene ticket index was not purged
Diffstat (limited to 'src/main/java/com/gitblit/wicket')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java index b5c46ac2..318b2b72 100644 --- a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java +++ b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java @@ -681,7 +681,7 @@ public class EditRepositoryPage extends RootSubPage { RepositoryModel latestModel = app().repositories().getRepositoryModel(repositoryModel.name);
boolean canDelete = app().repositories().canDelete(latestModel);
if (canDelete) {
- if (app().repositories().deleteRepositoryModel(latestModel)) {
+ if (app().gitblit().deleteRepositoryModel(latestModel)) {
info(MessageFormat.format(getString("gb.repositoryDeleted"), latestModel));
if (latestModel.isPersonalRepository()) {
// redirect to user's profile page
|